mirror of https://github.com/webpack/webpack.git
17 lines
252 B
JavaScript
17 lines
252 B
JavaScript
|
|
/** @type {import("../../../../").Configuration} */
|
||
|
|
module.exports = {
|
||
|
|
entry: "./index",
|
||
|
|
module: {
|
||
|
|
rules: [
|
||
|
|
{
|
||
|
|
test: /\.wat$/,
|
||
|
|
loader: "wast-loader",
|
||
|
|
type: "webassembly/sync"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
experiments: {
|
||
|
|
syncWebAssembly: true
|
||
|
|
}
|
||
|
|
};
|