fix(waterfall): should compile to es5

This commit is contained in:
chenjiahan 2020-04-21 16:13:49 +08:00
parent 84369690c0
commit ce0e04c952
3 changed files with 786 additions and 548 deletions

View File

@ -0,0 +1,3 @@
module.exports = {
presets: ['@babel/env'],
};

View File

@ -1,6 +1,6 @@
{
"name": "@vant/waterfall",
"version": "1.0.1",
"version": "1.0.2",
"description": "vant waterfall component",
"main": "lib/index.js",
"publishConfig": {
@ -13,9 +13,8 @@
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-waterfall",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/preset-env": "^7.4.4"
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5"
}
}

File diff suppressed because it is too large Load Diff