Skip to content

Commit

Permalink
add chunkSortMode option to HtmlWebpackPlugin (keystonejs#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsi authored and timleslie committed Nov 5, 2019
1 parent 3138013 commit 479597e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-zoos-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@keystonejs/app-admin-ui': patch
---

Fix bug with loading multiple complex custom pages with chunkSortMode option in HtmlWebpackPlugin
1 change: 1 addition & 0 deletions packages/app-admin-ui/server/getWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = function({ adminMeta, entry, outputPath }) {
const templatePlugin = new HtmlWebpackPlugin({
title: 'KeystoneJS',
template: 'index.html',
chunksSortMode: 'none',
});
const environmentPlugin = new webpack.DefinePlugin({
ENABLE_DEV_FEATURES: enableDevFeatures,
Expand Down

0 comments on commit 479597e

Please sign in to comment.