diff --git a/javascript/webpack.config.js b/javascript/webpack.config.js index c7a17e97559d3141c04172b22f6cf1ad282dab25..a78f6c2360e843d102a765e51ca172b4228a41c0 100644 --- a/javascript/webpack.config.js +++ b/javascript/webpack.config.js @@ -16,7 +16,10 @@ module.exports = { inlineSource: '.(js)$' }), new AddAssetHtmlPlugin({ - filepath: require.resolve("./src/lib/webcrypto-liner.shim.js") + filepath: require.resolve("./src/lib/webcrypto-liner.shim.js"), + attributes: { + nomodule: true + } }), new CleanWebpackPlugin(), new HtmlWebpackInlineSourcePlugin()