UNPKG
babel-plugin-wind
Version:
latest (1.0.14)
1.0.14
1.0.0-rc.7
1.0.0-rc.6
1.0.0-rc.5
1.0.0-rc.4
1.0.0-rc.1
1.0.0-rc.0
1.0.0-alpha.1
1.0.0-alpha.0
1.0.0-4.0
A plugin of babel to cherry-pick wind modules
babel-plugin-wind
/
__tests__
/
fixtures
/
with-alias-multi-import-specifiers
/
expected.js
12 lines
(9 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
MyButton
from
"@aliwind/lib/button"
;
import
MyIcon
from
"@aliwind/lib/icon"
;
import
Alert
from
"@aliwind/lib/alert"
;
const
MyComponent
= (
) =>
<
Alert
>
<
MyButton
>
<
MyIcon
/>
</
MyButton
>
</
Alert
>
;
export
default
MyComponent
;