File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,19 @@ module.exports = {
130
130
resolve : {
131
131
modules : [ 'node_modules' ] ,
132
132
extensions : paths . moduleFileExtensions
133
- . map ( ext => `.${ ext } ` )
134
- . filter ( ext => true || ! ext . includes ( 'ts' ) ) ,
133
+ . map ( ( ext ) => `.${ ext } ` )
134
+ . filter ( ( ext ) => true || ! ext . includes ( 'ts' ) ) ,
135
135
} ,
136
136
plugins : [
137
137
new webpack . DefinePlugin ( env . stringified ) ,
138
138
new webpack . NormalModuleReplacementPlugin (
139
139
/ c o d e m i r r o r / ,
140
140
path . resolve ( paths . appSrc , 'lib/replacedModule.ts' ) ,
141
141
) ,
142
+ new webpack . NormalModuleReplacementPlugin (
143
+ / l i b \/ g r a p h q l \/ c l i e n t / ,
144
+ path . resolve ( paths . appSrc , 'lib/replacedModule.ts' ) ,
145
+ ) ,
142
146
new webpack . optimize . LimitChunkCountPlugin ( { maxChunks : 1 } ) ,
143
147
] ,
144
148
optimization : {
You can’t perform that action at this time.
0 commit comments