diff --git a/lib/build.js b/lib/build.js index 3aaa6cd6..ff8c0ee6 100644 --- a/lib/build.js +++ b/lib/build.js @@ -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: {