.env.production file eliminated ! (-> .env)

.env.production worked in local
added myconfig
messagepopup working (but not ready yet)
added Graphql (only module)
This commit is contained in:
Paolo Arena
2018-12-26 21:02:16 +01:00
parent e41eeb43ca
commit 7a217c3ca9
42 changed files with 430 additions and 657 deletions

View File

@@ -59,7 +59,7 @@ module.exports = function (ctx) {
store: 'src/store/index.ts'
},
// app plugins (/src/plugins)
plugins: ['i18n', 'axios', 'vee-validate'],
plugins: ['i18n', 'axios', 'vee-validate', 'myconfig', 'local-storage', 'error-handler'],
css: [
'app.styl'
],
@@ -78,8 +78,8 @@ module.exports = function (ctx) {
scopeHoisting: true,
vueRouterMode: 'history',
vueCompiler: true,
gzip: true,
analyze: true,
gzip: false, // gzip true
analyze: false, // true
// extractCSS: false,
chainWebpack(config) {
extendTypescriptToWebpack(config);
@@ -93,8 +93,15 @@ module.exports = function (ctx) {
.test(/\.pug$/)
.use('pug')
.loader('pug-plain-loader')
/*config.module
.rule('template-engine')
.test(/\.(gql|graphql)$/)
.loader('graphql-tag/loader') */
}
},
dev: {
env: require('./.env.development'),
},
devServer: {
https: false,
port: 8080,