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

Transpile before npm publish #13

Open
McPo opened this issue Jul 21, 2016 · 2 comments
Open

Transpile before npm publish #13

McPo opened this issue Jul 21, 2016 · 2 comments

Comments

@McPo
Copy link

McPo commented Jul 21, 2016

Currently using Webpack with the Babel Loader set to ignore node_modules folders. As such its not possible to transpile from JSX to JS. Such settings are prominent.

Due to the above issue Im receiving an unknown token error within the countdown_timer.jsx. From my googling it appears modules are normally transpiled before being made available on npm. This is the only module in which Im having such an issue.

I have copied the countdown_timer.jsx file directly into my project which will transpile, however it would be nice to transpile the code before publishing it to npm.

http://chadly.net/2015/04/publishing-react-to-npm/

  • BTW Im a noob as far as JS build tools go, however Im pretty confident this is an issue which should be resolved.

Thanks,
Emmet

@FDiskas
Copy link

FDiskas commented Aug 23, 2016

👍

@dsernst
Copy link
Contributor

dsernst commented Nov 23, 2016

Related to #9

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