This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
support babel-plugin-import #13
Closed
Description
When using meteor and antd (a react components framework), we need to use babel-plugin-import to convert this code:
import { Button } from 'antd';
into
var _button = require('antd/lib/button');
It was working with meteor-babel@0.13.0, but now it's not working (meteor-babel@0.14.4). I guess it because now meteor-babel will compile first using reifyCompiler and then pass the result to babel, while in v0.13.0 babel compile first and then pass the result to reify.
Is it possible to make reify not transpile specific module (like antd)? so babel will take the responsible to transpile it using babel-plugin-import?
Metadata
Metadata
Assignees
Labels
No labels