Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8147cf7

Browse files
committedJan 17, 2023
Set fixed dev mode path.
1 parent 42d0890 commit 8147cf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/Services/Assets/Twill.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public function devAsset($file)
5252
$manifest = $this->readJson(
5353
$devServerUrl .
5454
'/' .
55-
config('twill.manifest_file', 'twill-manifest.json')
55+
// During dev mode and webpack 5 this is the valid path.
56+
'assets/twill/twill-manifest.json'
5657
);
5758
} catch (\Exception $exception) {
5859
throw new \Exception('Twill dev assets manifest is missing. Make sure you are running the npm run serve command inside Twill.', $exception->getCode(), $exception);

0 commit comments

Comments
 (0)
Please sign in to comment.