From 120243868b58cf9885a736aa4817923233f52f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Zakraj=C5=A1ek?= Date: Fri, 25 Dec 2015 15:14:19 +0100 Subject: [PATCH] Webpack guide typos and config update Replaced `asseturl` filter with `url` and added `($|\?)` to webpack file loader config for font-awesome support. --- content/docs/guides/webpack/contents.lr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/guides/webpack/contents.lr b/content/docs/guides/webpack/contents.lr index 0a688e8b..44befa07 100644 --- a/content/docs/guides/webpack/contents.lr +++ b/content/docs/guides/webpack/contents.lr @@ -99,7 +99,7 @@ module.exports = { { test: /\.css$/, loader: ExtractTextPlugin.extract( 'style-loader', 'css-loader') }, - { test: /\.(woff2?|ttf|eot|svg|png|jpe?g|gif)$/, + { test: /\.(woff2?|ttf|eot|svg|png|jpe?g|gif)($|\?)/, loader: 'file' } ] }, @@ -149,7 +149,7 @@ Now you need to include the files in your template. This will do it: ```html+jinja + '/static/gen/styles.css'|url }}"> + '/static/gen/app.js'|url }}" charset="utf-8"> ```