From 03f2c8e35ba70c9d9496fd5ad5403520f7ebdc53 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 20 Mar 2022 01:28:42 -0700 Subject: feat: 0.1.0 :star: --- webpack.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..61a88a0 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,19 @@ +const path = require("path"); + +module.exports = { + context: path.resolve(__dirname, "./"), + target: "webworker", + mode: "production", + optimization: { + usedExports: true, + }, + module: { + rules: [ + { + include: /node_modules/, + test: /\.mjs$/, + type: "javascript/auto", + }, + ], + }, +}; -- cgit v1.2.3