Skip to content

Latest commit

 

History

History

demo_app-rails5

ExternalAssetPipeline Demo with Webpack (using Rails 5)

This example is the same as demo_app but using rails 5 (instead of rails 6). It uses webpack with webpack-assets-manifest to build the assets and generate the manifest. Refer to the package.json and webpack.config.js to see the specifics.

Working with assets

Watch mode (incremental recompilation)

bin/yarn watch

Development build

bin/yarn build

Production build

NODE_ENV=production bin/yarn build