aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.prod.js
diff options
context:
space:
mode:
authorMichael C <[email protected]>2022-06-30 21:39:28 -0400
committerMichael C <[email protected]>2022-06-30 21:39:28 -0400
commit4119fd843360f858891a7fbb1526a350f999e1f5 (patch)
treeef6ad8b69629608c4931025b74678c8a078e14e2 /webpack/webpack.prod.js
parentcc7d7c0a0c03d552976b3291af85e3cec31a3c39 (diff)
downloadSponsorBlock-4119fd843360f858891a7fbb1526a350f999e1f5.tar.gz
SponsorBlock-4119fd843360f858891a7fbb1526a350f999e1f5.zip
revert module conversion
Diffstat (limited to 'webpack/webpack.prod.js')
-rw-r--r--webpack/webpack.prod.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js
index 08edbb78..03e1708e 100644
--- a/webpack/webpack.prod.js
+++ b/webpack/webpack.prod.js
@@ -1,7 +1,8 @@
-import { merge } from "webpack-merge";
-import common from './webpack.common.js';
+/* eslint-disable @typescript-eslint/no-var-requires */
+const { merge } = require('webpack-merge');
+const common = require('./webpack.common.js');
-export default env => {
+module.exports = env => {
let mode = "production";
env.mode = mode;