2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-05 22:12:27 +03:00

chore: commnet in babel

This commit is contained in:
mengxiong10
2019-11-12 18:51:18 +08:00
parent c2b7ba7794
commit 23781ef299
2 changed files with 28 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
// Parceljs cann't compile babel.config.js
{
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
],
"plugins": ["transform-vue-jsx", "@babel/plugin-transform-object-assign"],
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": ["transform-vue-jsx"]
}
}
}
+1
View File
@@ -1,3 +1,4 @@
// need to compile node_modules (eg: vue-runtime-helps)
module.exports = api => {
api.cache(false);
return {