mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-23 07:00:36 +03:00
chore: commnet in babel
This commit is contained in:
@@ -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,3 +1,4 @@
|
|||||||
|
// need to compile node_modules (eg: vue-runtime-helps)
|
||||||
module.exports = api => {
|
module.exports = api => {
|
||||||
api.cache(false);
|
api.cache(false);
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user