first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/* eslint-disable import/no-commonjs */
|
||||
// babel-preset-taro 更多选项和默认值:
|
||||
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
|
||||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
'taro',
|
||||
{
|
||||
framework: 'react',
|
||||
ts: true,
|
||||
useBuiltIns: false,
|
||||
hot: false,
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
'import',
|
||||
{
|
||||
libraryName: '@antmjs/vantui',
|
||||
libraryDirectory: 'es',
|
||||
},
|
||||
'@antmjs/vantui',
|
||||
],
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user