Skip to content

Commit

Permalink
Do not reference core-dll during development
Browse files Browse the repository at this point in the history
  • Loading branch information
vin0401 committed May 13, 2024
1 parent a0f2b15 commit 6402187
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,6 @@ Encore
}),
)

.addPlugin(
new webpack.DllReferencePlugin({
context: __dirname,
manifest: path.join(__dirname, 'dist', 'core-dll', 'core-manifest.json')
}),
)

.addPlugin(new webpack.BannerPlugin({
banner: `
/**
Expand All @@ -150,6 +143,13 @@ if (!Encore.isDevServer()) {
// only needed for CDN's or sub-directory deploy
Encore
.setManifestKeyPrefix('bundles/pimcorestudioui/build')

.addPlugin(
new webpack.DllReferencePlugin({
context: __dirname,
manifest: path.join(__dirname, 'dist', 'core-dll', 'core-manifest.json')
}),
)
}

if (!Encore.isDevServer() && !Encore.isProduction()) {
Expand Down

0 comments on commit 6402187

Please sign in to comment.