File tree Expand file tree Collapse file tree
packages/migrate/terserPlugin/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,27 +79,28 @@ exports[`terserPlugin transforms correctly using "terserPlugin-3" data 1`] = `
7979exports [` terserPlugin transforms correctly using "terserPlugin-4" data 1` ] = `
8080"const TerserPlugin = require('terser-webpack-plugin');
8181module.exports = {
82- devtool : \\" eval\\ " ,
83- entry : [\\" ./src/index\\ " ],
82+ devtool : ' eval' ,
83+
84+ entry : [
85+ ' ./src/index'
86+ ],
8487
8588 output : {
86- path: path .join (__dirname , \\ " dist\\ " ),
87- filename: \\ " index.js\\ "
89+ path: path .join (__dirname , ' dist' ),
90+ filename: ' index.js'
8891 },
8992
9093 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+ }]
9899 },
99100
100101 resolve : {
101- root: path .resolve (\\ " /src\\ " ),
102- modules: [\\ " node_modules\\ " ]
102+ root: path .resolve (' /src' ),
103+ modules: [' node_modules' ]
103104 },
104105
105106 plugins : [new webpack .optimize .OccurrenceOrderPlugin ()],
You can’t perform that action at this time.
0 commit comments