File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ const sourceMapQueryStr = (config.enabled.sourceMaps) ? '+sourceMap' : '-sourceM
1616const jsLoader = {
1717 test : / \. j s $ / ,
1818 exclude : [ / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) (? ! [ / | \\ ] ( b o o t s t r a p | f o u n d a t i o n - s i t e s ) ) / ] ,
19- loaders : [ {
19+ use : [ {
2020 loader : 'buble' ,
21- query : { objectAssign : 'Object.assign' } ,
21+ options : { objectAssign : 'Object.assign' } ,
2222 } ] ,
2323} ;
2424
2525if ( config . enabled . watcher ) {
26- jsLoader . loaders . unshift ( 'monkey-hot?sourceType=module' ) ;
26+ jsLoader . use . unshift ( 'monkey-hot?sourceType=module' ) ;
2727}
2828
2929let webpackConfig = {
@@ -71,7 +71,7 @@ let webpackConfig = {
7171 {
7272 test : / \. ( p n g | j p e ? g | g i f | s v g | i c o ) $ / ,
7373 include : config . paths . assets ,
74- loaders : [
74+ use : [
7575 `file?${ qs . stringify ( {
7676 name : `[path]${ assetsFilenames } .[ext]` ,
7777 } ) } `,
@@ -97,7 +97,7 @@ let webpackConfig = {
9797 test : / \. ( t t f | e o t | w o f f 2 ? | p n g | j p e ? g | g i f | s v g ) $ / ,
9898 include : / n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s / ,
9999 loader : 'file' ,
100- query : {
100+ options : {
101101 name : `vendor/${ config . cacheBusting } .[ext]` ,
102102 } ,
103103 } ,
You can’t perform that action at this time.
0 commit comments