🚀 Alins: The most pure and elegant WebUI framework
中文 | Documentation | Playground | Update Log | Feedback Errors/Defects | Gitee | Message Board
babel-plugin-alins
Alins babel plug-in does not include jsx and typescript translation functions. You need to install the corresponding plug-in yourself. It is recommended to use babel-preset-alins directly.
After installation, use in babel.config.json or babel.config.js:
{
"plugins": [ "alins" ]
}
Supports carrying importType parameter, which has the same meaning as in 5. The default value is esm
{
"plugins": [
["alins", {
"importType": "esm"
}]
]
}