File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
protocol/src/browser/test Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 88'use strict' ;
99
1010const NodePolyfillPlugin = require ( 'node-polyfill-webpack-plugin' ) ;
11+ const webpack = require ( 'webpack' ) ;
1112
1213module . exports = [ {
1314 context : __dirname ,
1415 mode : 'none' ,
1516 target : 'webworker' ,
1617 plugins : [
17- new NodePolyfillPlugin ( )
18+ new NodePolyfillPlugin ( ) ,
19+ new webpack . DefinePlugin ( {
20+ 'process.env.NODE_DEBUG' : JSON . stringify ( '' ) ,
21+ } )
1822 ] ,
1923 resolve : {
2024 mainFields : [ 'module' , 'main' ] ,
Original file line number Diff line number Diff line change 88'use strict' ;
99
1010const NodePolyfillPlugin = require ( 'node-polyfill-webpack-plugin' ) ;
11+ const webpack = require ( 'webpack' ) ;
1112
1213module . exports = [ {
1314 context : __dirname ,
1415 mode : 'none' ,
1516 target : 'webworker' ,
1617 plugins : [
17- new NodePolyfillPlugin ( )
18+ new NodePolyfillPlugin ( ) ,
19+ new webpack . DefinePlugin ( {
20+ 'process.env.NODE_DEBUG' : JSON . stringify ( '' ) ,
21+ } )
1822 ] ,
1923 resolve : {
2024 mainFields : [ 'module' , 'main' ] ,
You can’t perform that action at this time.
0 commit comments