Using Webpack + Rails


#1

Hello!

We need to run some NPM commands to compile our assets before our tests run and wondering the best way to do this. In production we SCP the assets upon deploy and in development we run a node server via npm start. Is there a way you’d recommend us running our integration tests?

We use webpack and rails together which is causing the issues.


#2

we use webpack + rails too.

for us adding

post:
    - grunt build:prod

to the dependencies section of the circle yaml was the solution. presumably adding whatever task packs your js to post will help


#3