project init
1.首页微调 2.新增游戏-鉴色
This commit is contained in:
28
babel.config.js
Normal file
28
babel.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
// var plugins = [];
|
||||
// if (['production', 'prod'].includes(process.env.NODE_ENV)) {
|
||||
// plugins.push("transform-remove-console")
|
||||
// }
|
||||
module.exports = {
|
||||
presets: [
|
||||
// '@vue/cli-plugin-babel/preset',
|
||||
[
|
||||
// '@vue/cli-plugin-babel/preset',
|
||||
// '@vue/babel-preset-app',
|
||||
"@vue/app",
|
||||
{
|
||||
"useBuiltIns": "entry",
|
||||
corejs: 3,
|
||||
"targets": {
|
||||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||
},
|
||||
polyfills: [
|
||||
'es.promise',
|
||||
'es.symbol'
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
plugins: [
|
||||
"@babel/plugin-transform-runtime"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user