Agregada configuracion para excluir la API de opciones en vue

add-license-1
Araozu 2020-07-23 21:29:53 -05:00
parent df6f2da6a1
commit 533eee0c0c
3 changed files with 18 additions and 298 deletions

View File

@ -18,6 +18,7 @@
"vue": "^3.0.0-rc.4", "vue": "^3.0.0-rc.4",
"vue-router": "^4.0.0-alpha.6", "vue-router": "^4.0.0-alpha.6",
"vuex": "^4.0.0-alpha.1", "vuex": "^4.0.0-alpha.1",
"webpack": "^4.43.0",
"yaml": "^1.10.0", "yaml": "^1.10.0",
"yaml-loader": "^0.6.0" "yaml-loader": "^0.6.0"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,5 @@
const webpack = require("webpack");
module.exports = { module.exports = {
configureWebpack: { configureWebpack: {
module: { module: {
@ -8,6 +10,12 @@ module.exports = {
} }
] ]
}, },
plugins: [
new webpack.DefinePlugin({
__VUE_OPTIONS_API__: false,
__VUE_PROD_DEVTOOLS__: true
})
],
devServer: { devServer: {
compress: true, compress: true,
disableHostCheck: true disableHostCheck: true