12 lines
224 B
JavaScript
12 lines
224 B
JavaScript
|
// babel-preset-taro 更多选项和默认值:
|
||
|
// https://docs.taro.zone/docs/next/babel-config
|
||
|
module.exports = {
|
||
|
presets: [
|
||
|
['taro', {
|
||
|
framework: 'react',
|
||
|
ts: true,
|
||
|
compiler: 'vite',
|
||
|
}]
|
||
|
]
|
||
|
}
|