File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
packages/migrate/terserPlugin/__snapshots__ Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -79,27 +79,28 @@ exports[`terserPlugin transforms correctly using "terserPlugin-3" data 1`] = `
79
79
exports [` terserPlugin transforms correctly using "terserPlugin-4" data 1` ] = `
80
80
"const TerserPlugin = require('terser-webpack-plugin');
81
81
module.exports = {
82
- devtool : \\" eval\\ " ,
83
- entry : [\\" ./src/index\\ " ],
82
+ devtool : ' eval' ,
83
+
84
+ entry : [
85
+ ' ./src/index'
86
+ ],
84
87
85
88
output : {
86
- path: path .join (__dirname , \\ " dist\\ " ),
87
- filename: \\ " index.js\\ "
89
+ path: path .join (__dirname , ' dist' ),
90
+ filename: ' index.js'
88
91
},
89
92
90
93
module : {
91
- loaders: [
92
- {
93
- test: / . js$ / ,
94
- loaders: [\\" babel\\ " ],
95
- include: path .join (__dirname , \\" src\\ " )
96
- }
97
- ]
94
+ loaders: [{
95
+ test: / . js$ / ,
96
+ loaders: [' babel' ],
97
+ include: path .join (__dirname , ' src' )
98
+ }]
98
99
},
99
100
100
101
resolve : {
101
- root: path .resolve (\\ " /src\\ " ),
102
- modules: [\\ " node_modules\\ " ]
102
+ root: path .resolve (' /src' ),
103
+ modules: [' node_modules' ]
103
104
},
104
105
105
106
plugins : [new webpack .optimize .OccurrenceOrderPlugin ()],
You can’t perform that action at this time.
0 commit comments