vant-weapp/babel.config.js
nemo-shen ee0e485eef
test(Button): add unit test (#4603)
* fix: test init

* test(Button): add unit test

* fix(test): remove unused code

* test(build): remove demo/test dir when compile

* fix(Button): remove duplicate demo

* test(Button): adjust component.json
2021-11-10 15:54:37 +08:00

18 lines
281 B
JavaScript

module.exports = {
presets: [
[
'@babel/preset-env',
{
loose: true,
modules: false,
},
],
],
env: {
test: {
presets: ['@babel/preset-typescript'],
plugins: ['@babel/plugin-transform-modules-commonjs'],
},
},
};