🔨 fix demo build
This commit is contained in:
@@ -13,7 +13,7 @@ const config: Configuration = {
|
|||||||
entry: "./index",
|
entry: "./index",
|
||||||
resolve: { extensions: [".ts", ".js"] },
|
resolve: { extensions: [".ts", ".js"] },
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, "dist", "demo"),
|
path: path.join(__dirname, "dist"),
|
||||||
filename: "[contenthash].js",
|
filename: "[contenthash].js",
|
||||||
publicPath: "/" + basePathname.map((x) => x + "/").join(""),
|
publicPath: "/" + basePathname.map((x) => x + "/").join(""),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user