@xh/hoist-dev-utils 8.0.0-SNAPSHOT.1691178330607 → 8.0.0-SNAPSHOT.1707156822530
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configureWebpack.js +1 -6
- package/package.json +1 -2
package/configureWebpack.js
CHANGED
|
@@ -601,11 +601,6 @@ async function configureWebpack(env) {
|
|
|
601
601
|
options: {
|
|
602
602
|
name: 'static/media/[name].[hash:8].[ext]'
|
|
603
603
|
}
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
test: /\.js$/,
|
|
607
|
-
enforce: "pre",
|
|
608
|
-
use: ["source-map-loader"],
|
|
609
604
|
}
|
|
610
605
|
]
|
|
611
606
|
}
|
|
@@ -664,7 +659,7 @@ async function configureWebpack(env) {
|
|
|
664
659
|
template: path.resolve(hoistPath, `static/index-manifest.html`),
|
|
665
660
|
filename: `${jsAppName}/index.html`,
|
|
666
661
|
// Only include chunks that contain the js app name
|
|
667
|
-
chunks: chunkNames.filter(it => it.includes(jsAppName)),
|
|
662
|
+
chunks: chunkNames.filter(it => it.startsWith(jsAppName) || it.includes('~' + jsAppName)),
|
|
668
663
|
// No need to minify the HTML itself
|
|
669
664
|
minify: false,
|
|
670
665
|
// Flag read within template file to include apple icon.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist-dev-utils",
|
|
3
|
-
"version": "8.0.0-SNAPSHOT.
|
|
3
|
+
"version": "8.0.0-SNAPSHOT.1707156822530",
|
|
4
4
|
"description": "Utilities for configuring builds of Hoist-React client applications.",
|
|
5
5
|
"repository": "github:xh/hoist-dev-utils",
|
|
6
6
|
"homepage": "https://github.com/xh/hoist-dev-utils",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"sass": "~1.63.4",
|
|
42
42
|
"sass-loader": "~13.3.0",
|
|
43
43
|
"sass-material-colors": "~0.0.5",
|
|
44
|
-
"source-map-loader": "^4.0.1",
|
|
45
44
|
"style-loader": "~3.3.2",
|
|
46
45
|
"terser-webpack-plugin": "~5.3.7",
|
|
47
46
|
"url-loader": "~4.1.1",
|