Skip to content

Commit

Permalink
upgrade code to webpack v5
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinto committed Aug 18, 2021
1 parent 3437b26 commit b7bbbc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,11 @@ async function webpackConfig(
entry: {},
target: 'node',
plugins: [
new webpack.IgnorePlugin(/vertx/),
new webpack.IgnorePlugin({ resourceRegExp: /vertx/ }),
new webpack.DefinePlugin(defineEnv),
],
output: {
path: functionsPath,
filename: '[name].js',
libraryTarget: 'commonjs',
},
optimization: {
Expand Down

0 comments on commit b7bbbc6

Please sign in to comment.