changing public path in base config instead of just dev

This commit is contained in:
Miodec 2022-06-25 15:26:41 +02:00
parent 31cfeef2a9
commit e944a3684e

View file

@ -27,6 +27,7 @@ const BASE_CONFIG = {
},
resolve: { extensions: [".ts", ".js"] },
output: {
publicPath: "/",
filename: "./js/[name].[chunkhash:8].js",
path: resolve(__dirname, "../public/"),
clean: true,