@opd/babel-preset-component
babel preset used by react component in pangu
Usage
npm i @opd/babel-preset-component -D
{
"presets": ["@opd/babel-preset-component"]
}
Features
- [x]
TypeScript
- [x]
React
- [x]
NODE_ENV
/BABEL_ENV
support- [x]
commonjs
: used in build commonjs modules - [x]
test
: used in test - [x] other: used default
- [x]