Skip to content

Commit a707cf7

Browse files
committed
fix(demo): auto publicPath
1 parent d5b0d09 commit a707cf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack-examples.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
commons: {
1414
name: "commons",
1515
chunks: "all",
16-
minChunks: 2
16+
minChunks: 1
1717
}
1818
}
1919
}
@@ -22,7 +22,7 @@ module.exports = {
2222
path: __dirname + "/examples",
2323
filename: "[name].js",
2424
sourceMapFilename: "[file].map",
25-
publicPath: "/examples/"
25+
publicPath: "auto"
2626
},
2727
module: {
2828
rules: [

0 commit comments

Comments
 (0)