From 2a3afe1efe4d8a8b4e6503f3ac2aab4302a8e5ae Mon Sep 17 00:00:00 2001 From: Erez Zukerman Date: Fri, 22 Sep 2017 15:30:03 -0300 Subject: [PATCH] Update webpack.md (#847) Stresses that you need to use the stylesheet pack tag, based on further confusion around https://github.com/rails/webpacker/issues/775 --- docs/webpack.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/webpack.md b/docs/webpack.md index 57bc369a4..2f81f5c94 100644 --- a/docs/webpack.md +++ b/docs/webpack.md @@ -109,6 +109,11 @@ module.exports = environment See [issue #756](https://github.com/rails/webpacker/issues/756#issuecomment-327148547) for additional discussion of this. +For this to work, don't forget to use the `stylesheet_pack_tag`, for example: + +``` +<%= stylesheet_pack_tag 'YOUR_PACK_NAME_HERE' %> +``` ## Plugins