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:
@@ -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 => {
|
||||
api.cache(false);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user