File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -158,12 +158,11 @@ async function webpackConfig(
158
158
entry : { } ,
159
159
target : 'node' ,
160
160
plugins : [
161
- new webpack . IgnorePlugin ( / v e r t x / ) ,
161
+ new webpack . IgnorePlugin ( { resourceRegExp : / v e r t x / } ) ,
162
162
new webpack . DefinePlugin ( defineEnv ) ,
163
163
] ,
164
164
output : {
165
165
path : functionsPath ,
166
- filename : '[name].js' ,
167
166
libraryTarget : 'commonjs' ,
168
167
} ,
169
168
optimization : {
Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ describe('build', () => {
106
106
} ) ;
107
107
108
108
describe ( 'webpack custom config merge' , ( ) => {
109
- beforeEach ( ( ) => jest . resetModules ( ) ) ;
110
-
111
109
it ( 'should merge plugins' , async ( ) => {
112
110
const script = `module.exports = () => console.log("hello world")` ;
113
111
await writeFileInFunctions ( script , 'index.js' ) ;
You can’t perform that action at this time.
0 commit comments