diff options
Diffstat (limited to 'webpack/webpack.dev.js')
-rw-r--r-- | webpack/webpack.dev.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index c1b9472c..9e2eefe5 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.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 => merge(common(env), { +export default env => merge(common(env), { devtool: 'inline-source-map', mode: 'development' });
\ No newline at end of file |