feats / babel-plugin-inline-import

inline the raw content of import statements
https://www.npmjs.com/package/babel-plugin-inline-import
MIT License
243 stars 29 forks source link

Adding support for unnamed imports. #17

Open richardheng-okta opened 6 years ago

richardheng-okta commented 6 years ago

Currently, the plugin will throw an error with an unnamed import:

import './fixtures/example.py';

This PR addresses the issue by transforming those expressions to string literals.