File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ module.exports = {
88 } ,
99 output : {
1010 filename : 'bundle.js' ,
11- path : path . resolve ( 'app' ) ,
12- publicPath : path . resolve ( 'app' )
11+ path : path . resolve ( __dirname , 'app' ) ,
12+ publicPath : ""
1313 } ,
1414 resolve : {
1515 alias : {
16- Utilities : path . resolve ( __dirname , 'ui/js/' )
16+ Utilities : path . resolve ( 'ui/js/' )
1717 } ,
1818 extensions : [ '.js' , '.json' , '.jsx' ]
1919 } ,
@@ -43,11 +43,11 @@ module.exports = {
4343 options : {
4444 name : loader_path => {
4545 if ( ! / n o d e _ m o d u l e s / . test ( loader_path ) ) {
46- return "app /images/[name].[ext]?[hash]" ;
46+ return "/images/[name].[ext]?[hash]" ;
4747 }
4848
4949 return (
50- "app /images/vendor/" +
50+ "/images/vendor/" +
5151 loader_path . replace ( / \\ / g, "/" )
5252 . replace ( / ( ( .* ( n o d e _ m o d u l e s ) ) | i m a g e s | i m a g e | i m g | a s s e t s ) \/ / g, '' ) +
5353 '?[hash]'
@@ -65,11 +65,11 @@ module.exports = {
6565 options : {
6666 name : loader_path => {
6767 if ( ! / n o d e _ m o d u l e s / . test ( loader_path ) ) {
68- return 'app /fonts/[name].[ext]?[hash]' ;
68+ return '/fonts/[name].[ext]?[hash]' ;
6969 }
7070
7171 return (
72- 'app /fonts/vendor/' +
72+ '/fonts/vendor/' +
7373 loader_path
7474 . replace ( / \\ / g, '/' )
7575 . replace ( / ( ( .* ( n o d e _ m o d u l e s ) ) | f o n t s | f o n t | a s s e t s ) \/ / g, '' ) +
You can’t perform that action at this time.
0 commit comments