File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,27 @@ const path = require('path')
22const name = 'WGRestApi'
33
44module . exports = {
5- publicPath : process . env . PUBLIC_PATH || "" ,
6- lintOnSave : process . env . NODE_ENV === 'development' ,
7- pwa : {
8- name : name
9- } ,
10- pluginOptions : {
11- 'style-resources-loader' : {
12- preProcessor : 'scss' ,
13- patterns : [
14- path . resolve ( __dirname , 'src/styles/_variables.scss' ) ,
15- path . resolve ( __dirname , 'src/styles/_mixins.scss' )
16- ]
17- }
18- } ,
19- chainWebpack ( config ) {
20- // provide the app's title in html-webpack-plugin's options list so that
21- // it can be accessed in index.html to inject the correct title.
22- // https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-plugin
23- config . plugin ( 'html' ) . tap ( args => {
24- args [ 0 ] . title = name
25- return args
26- } )
5+ publicPath : process . env . PUBLIC_PATH || '/' ,
6+ lintOnSave : process . env . NODE_ENV === 'development' ,
7+ pwa : {
8+ name : name
9+ } ,
10+ pluginOptions : {
11+ 'style-resources-loader' : {
12+ preProcessor : 'scss' ,
13+ patterns : [
14+ path . resolve ( __dirname , 'src/styles/_variables.scss' ) ,
15+ path . resolve ( __dirname , 'src/styles/_mixins.scss' )
16+ ]
2717 }
28- }
18+ } ,
19+ chainWebpack ( config ) {
20+ // provide the app's title in html-webpack-plugin's options list so that
21+ // it can be accessed in index.html to inject the correct title.
22+ // https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-plugin
23+ config . plugin ( 'html' ) . tap ( args => {
24+ args [ 0 ] . title = name
25+ return args
26+ } )
27+ }
28+ }
You can’t perform that action at this time.
0 commit comments