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

Browserify not doing anything when precompiling assets #201

Closed
stevensona opened this issue May 23, 2017 · 1 comment
Closed

Browserify not doing anything when precompiling assets #201

stevensona opened this issue May 23, 2017 · 1 comment

Comments

@stevensona
Copy link

I've put together minimal example reproducing a strange behavior.

https://github.com/stevensona/browserify-issue

Everything works as expected in development mode. However, if I precompile the assets and start up the server in production, it no longer works (compiled application.js file is empty).

Any idea what may be causing this?

@stevensona
Copy link
Author

stevensona commented May 23, 2017

Issue was caused by app stuck using an old version of browserify-rails(3.4.0) because of the version of sprockets I had specified. Changing sprockets to 3.6 and browserify-rails to 4.2 fixed the issue. Thanks.

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

1 participant