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.prod.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.prod.js')
-rw-r--r-- | webpack/webpack.prod.js | 7 |
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; |