Skip to content

Transpile before npm publish #13

@McPo

Description

@McPo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions