mirror of https://github.com/webpack/webpack.git
19 lines
357 B
JavaScript
19 lines
357 B
JavaScript
|
module.exports = {
|
||
|
// mode: "development || "production",
|
||
|
output: {
|
||
|
publicPath: "dist/"
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.wat$/,
|
||
|
use: "wast-loader",
|
||
|
type: "webassembly/async-experimental"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
optimization: {
|
||
|
chunkIds: "deterministic" // To keep filename consistent between different modes (for example building only)
|
||
|
}
|
||
|
};
|