mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
test: update babel config
This commit is contained in:
parent
b440215842
commit
85b7741f3c
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -98,16 +98,6 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# with:
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# - name: Checkout submodules
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# repository: tangjinzhou/antdv-demo
|
||||
# token: ${{ secrets.ACCESS_TOKEN }}
|
||||
# path: antdv-demo
|
||||
# submodules: true
|
||||
|
||||
- name: restore cache from package-lock.json
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
test: {
|
||||
presets: [['@babel/preset-env', { targets: { node: true } }]],
|
||||
presets: [['@babel/preset-env']],
|
||||
plugins: [
|
||||
['@vue/babel-plugin-jsx', { mergeProps: false, enableObjectSlots: false }],
|
||||
'@babel/plugin-proposal-optional-chaining',
|
||||
|
Loading…
Reference in New Issue
Block a user