@@ -53,24 +53,14 @@ module.exports = {
5353
5454 module : {
5555 rules : [
56- {
57- test : / c r e a t e - z i p \/ .* \/ f i l e s \/ .* \. i c o $ / ,
58- loader : 'base64-loader' ,
59- } ,
60- {
61- test : / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ,
62- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* \. i c o $ / ] ,
63- loader : 'raw-loader' ,
64- } ,
6556 {
6657 test : / \. j s $ / ,
6758 include : paths . src ,
6859 exclude : [
6960 / e s l i n t \. 4 \. 1 \. 0 \. m i n \. j s $ / ,
7061 / t y p e s c r i p t S e r v i c e s \. j s $ / ,
7162 // Don't do the node modules of the codesandbox module itself
72- / c o d e s a n d b o x \/ n o d e _ m o d u l e s / ,
73- / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ,
63+ / c o d e s a n d b o x - a p i \/ n o d e _ m o d u l e s / ,
7464 ] ,
7565 loader : 'happypack/loader' ,
7666 } ,
@@ -79,7 +69,6 @@ module.exports = {
7969 {
8070 test : / \. j s o n $ / ,
8171 loader : 'json-loader' ,
82- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
8372 } ,
8473 // "postcss" loader applies autoprefixer to our CSS.
8574 // "css" loader resolves paths in CSS and adds assets as dependencies.
@@ -89,20 +78,18 @@ module.exports = {
8978 {
9079 test : / \. c s s $ / ,
9180 loaders : [ 'style-loader' , 'css-loader' ] ,
92- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
9381 } ,
9482 // For importing README.md
9583 {
9684 test : / \. m d $ / ,
9785 loader : 'raw-loader' ,
98- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
9986 } ,
10087 // "file" loader makes sure those assets get served by WebpackDevServer.
10188 // When you `import` an asset, you get its (virtual) filename.
10289 // In production, they would get copied to the `build` folder.
10390 {
10491 test : / \. ( i c o | j p g | p n g | g i f | e o t | o t f | w e b p | s v g | t t f | w o f f | w o f f 2 ) ( \? .* ) ? $ / ,
105- exclude : [ / \/ f a v i c o n .i c o $ / , / c r e a t e - z i p \/ . * \/ f i l e s \/ . * $ / ] ,
92+ exclude : [ / \/ f a v i c o n .i c o $ / ] ,
10693 loader : 'file-loader' ,
10794 options : {
10895 name : 'static/media/[name].[hash:8].[ext]' ,
@@ -112,7 +99,6 @@ module.exports = {
11299 {
113100 test : / \/ f a v i c o n .i c o $ / ,
114101 include : [ paths . src ] ,
115- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
116102 loader : 'file-loader' ,
117103 options : {
118104 name : 'favicon.ico?[hash:8]' ,
@@ -123,7 +109,6 @@ module.exports = {
123109 {
124110 test : / \. ( m p 4 | w e b m ) ( \? .* ) ? $ / ,
125111 loader : 'url-loader' ,
126- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
127112 options : {
128113 limit : 10000 ,
129114 name : 'static/media/[name].[hash:8].[ext]' ,
@@ -134,7 +119,6 @@ module.exports = {
134119 {
135120 test : / \. h t m l $ / ,
136121 loader : 'html-loader' ,
137- exclude : [ / c r e a t e - z i p \/ .* \/ f i l e s \/ .* $ / ] ,
138122 options : {
139123 attrs : [ 'link:href' ] ,
140124 } ,
0 commit comments