Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish non webpack bundled code #1

Closed
travisperson opened this issue Jun 9, 2016 · 2 comments
Closed

Publish non webpack bundled code #1

travisperson opened this issue Jun 9, 2016 · 2 comments

Comments

@travisperson
Copy link

Current moxios is published to npm with a webpack bundled file. This means that you must always pass an axios instance to moxios.install() as webpack rewrites all imports and will never use the axios install from node_modules in a project. It would be nice to see just a babel transform of the code be published to npm.

@wezleytsai
Copy link

@travisperson i couldn't figure out why it wasn't mocking...now i see why

@mzabriskie
Copy link
Member

Fixed by #3. Will release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants