webpack/test/configCases/issues/issue-14974/webpack.config.js

10 lines
299 B
JavaScript
Raw Normal View History

2022-02-23 19:54:21 +08:00
const { HotModuleReplacementPlugin } = require("../../../../");
/** @type {import("../../../../").Configuration} */
module.exports = {
devtool: false,
experiments: { topLevelAwait: true },
optimization: { usedExports: false, sideEffects: false },
plugins: [new HotModuleReplacementPlugin()]
};