File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,13 @@ if (ENV === 'development') {
49
49
plugins : [ ] ,
50
50
51
51
devServer : {
52
- // contentBase: path.join(__dirname, '../demo/'),
53
52
historyApiFallback : {
54
53
rewrites : [
55
54
{ from : / ^ \/ $ / , to : '/demo/index.html' } ,
56
- { from : / \/ i n d e x \. h t m l $ / , to : '/demo/index.html' } ,
57
- { from : / \/ c s s \/ s t y l e \. c s s $ / , to : '/demo/css/style.css' } ,
58
- { from : / \/ c s s \/ b o o t s t r a p \. c s s $ / , to : '/demo/css/bootstrap.css' } ,
59
- { from : / \/ s e r v i c e D a t a s o u r c e \/ s e r v i c e D a t a s o u r c e \. h t m l $ / , to : '/demo/serviceDatasource/serviceDatasource.html' } ,
60
- { from : / \/ s e r v i c e D a t a s o u r c e \/ s e r v i c e D a t a s o u r c e \. j s $ / , to : '/demo/serviceDatasource/serviceDatasource.js' }
55
+ { from : / \/ u i - s c r o l l - d e m o \. g i f $ / , to : '/demo/ui-scroll-demo.gif' } ,
56
+ { from : / \/ * \/ * \. h t m l $ / , to : ( context ) => '/demo' + context . parsedUrl . pathname } ,
57
+ { from : / \/ * \/ * \. c s s $ / , to : ( context ) => '/demo' + context . parsedUrl . pathname } ,
58
+ { from : / \/ * \/ * \. j s $ / , to : ( context ) => '/demo' + context . parsedUrl . pathname }
61
59
]
62
60
} ,
63
61
inline : true ,
You can’t perform that action at this time.
0 commit comments