mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 02:12:43 +08:00
* 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
18 lines
281 B
JavaScript
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'],
|
|
},
|
|
},
|
|
};
|