We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 016bf04 + 5410816 commit d2a67f4Copy full SHA for d2a67f4
src/index.ts
@@ -184,6 +184,12 @@ export default function laravel(config: string|string[]|PluginConfig): LaravelPl
184
}
185
186
const manifestPath = path.resolve(resolvedConfig.root, resolvedConfig.build.outDir, manifestConfig)
187
+
188
+ if (! fs.existsSync(manifestPath)) {
189
+ // The manifest does not exist yet when first writing the legacy asset bundle.
190
+ return;
191
+ }
192
193
const manifest = JSON.parse(fs.readFileSync(manifestPath).toString())
194
const newManifest = {
195
...manifest,
0 commit comments