2022-01-11 09:57:07 +00:00
|
|
|
const resolvers = require("./resolvers");
|
|
|
|
const path = require("path");
|
|
|
|
const plugins = require("./plugins");
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
target: "web",
|
|
|
|
output: {
|
|
|
|
path: path.resolve(process.cwd(), "dist"),
|
|
|
|
filename: "static/js/[name].[contenthash].bundle.js",
|
|
|
|
publicPath: "auto",
|
|
|
|
chunkFilename: "static/js/[id].[contenthash].js",
|
2022-01-11 11:13:26 +00:00
|
|
|
//assetModuleFilename: "static/images/[hash][ext][query]",
|
2022-01-11 09:57:07 +00:00
|
|
|
},
|
|
|
|
resolve: { ...resolvers },
|
|
|
|
plugins: [...plugins.client],
|
|
|
|
};
|