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

Brunch not building correct JS imports #59

Closed
codeithuman opened this issue Jun 26, 2017 · 0 comments
Closed

Brunch not building correct JS imports #59

codeithuman opened this issue Jun 26, 2017 · 0 comments

Comments

@codeithuman
Copy link
Contributor

Brunch is not building correct JS imports for use in an NPM Package. You can see my current project on the moment-js-error. The require.register("assets/js/torch.js",function()...) found in priv/static/torch.js causes a console error when the Torch NPM package is used in another project. Therefore, Pikaday fields do not work.

At this point, after research and trying various solutions, I'd recommend replacing Brunch with another asset building like Webpack.

This was referenced Jun 28, 2017
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

Successfully merging a pull request may close this issue.

1 participant