aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack/webpack.prod.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack/webpack.prod.js')
-rw-r--r--webpack/webpack.prod.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js
index fe935af8..08edbb78 100644
--- a/webpack/webpack.prod.js
+++ b/webpack/webpack.prod.js
@@ -1,8 +1,7 @@
-/* eslint-disable @typescript-eslint/no-var-requires */
-const merge = require('webpack-merge');
-const common = require('./webpack.common.js');
+import { merge } from "webpack-merge";
+import common from './webpack.common.js';
-module.exports = env => {
+export default env => {
let mode = "production";
env.mode = mode;