Skip to content

Commit

Permalink
build(deps-dev): bump webpack from 4.44.2 to 5.2.0 (#4434)
Browse files Browse the repository at this point in the history
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.2 to 5.2.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v4.44.2...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Imdahl <florian@wire.com>
  • Loading branch information
dependabot[bot] and ffflorian authored Oct 23, 2020
1 parent 55a58e7 commit 8f6deea
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 1,173 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"style-loader": "2.0.0",
"ts-node": "9.0.0",
"typescript": "4.0.3",
"webpack": "4.44.2",
"webpack": "5.2.0",
"webpack-cli": "4.1.0"
},
"homepage": "https://wire.com",
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
// @ts-check
/* eslint-disable valid-jsdoc */

const path = require('path');
const webpack = require('webpack');

/** @type {(env: {production?: true}) => import('webpack').Configuration} */
module.exports = (env = {}) => ({
devtool: env.production ? undefined : 'cheap-eval-source-map',
devtool: env.production ? undefined : 'eval-cheap-source-map',
entry: path.resolve(__dirname, 'electron/renderer/src/index.jsx'),
externals: {
'fs-extra': '{}',
Expand Down
Loading

0 comments on commit 8f6deea

Please sign in to comment.