Skip to content

Is it possible to generate assets (JS and CSS) without Ruby? #220

Closed Answered by tomdracz
szymonnowak-st asked this question in Q&A
Discussion options

You must be logged in to vote

@szymonnowak-st Behind the scenes we're simply running webpack compiler.

Running something like yarn webpack --config path/to/webpack/config.js will run the compilation just fine and you don't need any Ruby gems (as long as you're not using any erb files).

Mind you that this will run webpack specific compilation and output manifest but it will not do stuff like recording compilation digest etc that we use to check if assets require compilation

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by szymonnowak-st
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants