From 5fb8aff35737d588f069375e1d8e4db1c8862620 Mon Sep 17 00:00:00 2001 From: Erez Zukerman Date: Fri, 22 Sep 2017 10:53:56 -0400 Subject: [PATCH] Update webpack.md 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