Skip to content

Instantly share code, notes, and snippets.

@frullah
Last active March 23, 2021 04:07
Show Gist options
  • Save frullah/a2b523ff0f5489c2cbf9f87835cf2ac0 to your computer and use it in GitHub Desktop.
Save frullah/a2b523ff0f5489c2cbf9f87835cf2ac0 to your computer and use it in GitHub Desktop.
how to use webpacker 6 in rails engine
  1. install rails webpacker 6
  2. add 'runtime' to javascript_pack_tag in dummy views, without that the entire javascript will not be executed
  3. [optional] set app source to the engine app packs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment