babel-plugin-alins
TypeScript icon, indicating that this package has built-in type declarations

0.0.36 • Public • Published

stars forks version downloads jsdelivr visitors

author license Size TopLang issue Dependent

🚀 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"
     }]
   ]
}

Package Sidebar

Install

npm i babel-plugin-alins

Weekly Downloads

3

Version

0.0.36

License

MIT

Unpacked Size

5.74 kB

Total Files

6

Last publish

Collaborators

  • theajack