Browse Source

m build config

ustbhuangyi 7 years ago
parent
commit
5ab84315db
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/index.js

+ 2 - 2
config/index.js

@@ -7,7 +7,7 @@ module.exports = {
 		index: path.resolve(__dirname, '../dist/index.html'),
 		assetsRoot: path.resolve(__dirname, '../dist'),
 		assetsSubDirectory: 'static',
-		assetsPublicPath: '/',
+		assetsPublicPath: '',
 		productionSourceMap: false,
 		// Gzip off by default as many popular static hosts such as
 		// Surge or Netlify already gzip all static assets for you.
@@ -15,7 +15,7 @@ module.exports = {
 		// npm install --save-dev compression-webpack-plugin
 		productionGzip: false,
 		productionGzipExtensions: ['js', 'css'],
-		port: 9000
+		port: 8900
 	},
 	dev: {
 		env: require('./dev.env'),