Agregada configuracion para excluir la API de opciones en vue
This commit is contained in:
parent
df6f2da6a1
commit
533eee0c0c
@ -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"
|
||||||
},
|
},
|
||||||
|
307
pnpm-lock.yaml
307
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user