diff options
author | Michael C <[email protected]> | 2022-05-24 21:14:36 -0400 |
---|---|---|
committer | Michael C <[email protected]> | 2022-05-24 21:14:36 -0400 |
commit | 2665327729e926b79a519fca42b132ac51aec10f (patch) | |
tree | bc52209f33acefa5615cb9ce34b5bc3eeca96469 /webpack/webpack.dev.js | |
parent | 4738c1897f41c307b2a4643e214f2b95e1365add (diff) | |
download | SponsorBlock-2665327729e926b79a519fca42b132ac51aec10f.tar.gz SponsorBlock-2665327729e926b79a519fca42b132ac51aec10f.zip |
update dependencies & bump minimum node version (#1329)
- bump all dependences
- add github-actions reporter to jest
- convert (most) webpack configs to ESM
- manifest.cjs cannot be converted since there is no native .json import until node 17
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 |