From accd86a2a0a55deea9001dc531240ecd4cef762f Mon Sep 17 00:00:00 2001 From: jedrzejchalubek Date: Thu, 17 Aug 2017 17:02:58 +0200 Subject: [PATCH] Builder rule for external images should output files in /images folder --- build/rules/external.fonts.js | 2 +- build/rules/external.images.js | 4 ++-- build/rules/fonts.js | 2 +- build/rules/images.js | 2 +- build/rules/sass.js | 2 +- build/webpack.config.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build/rules/external.fonts.js b/build/rules/external.fonts.js index d50bed4..d740b6a 100644 --- a/build/rules/external.fonts.js +++ b/build/rules/external.fonts.js @@ -12,4 +12,4 @@ module.exports = { publicPath: config.paths.relative, name: config.outputs.font.filename } -} \ No newline at end of file +} diff --git a/build/rules/external.images.js b/build/rules/external.images.js index 953461c..31c205c 100644 --- a/build/rules/external.images.js +++ b/build/rules/external.images.js @@ -10,6 +10,6 @@ module.exports = { loader: 'file-loader', options: { publicPath: config.paths.relative, - name: config.outputs.font.filename + name: config.outputs.image.filename } -} \ No newline at end of file +} diff --git a/build/rules/fonts.js b/build/rules/fonts.js index 7405633..e8ca1bc 100644 --- a/build/rules/fonts.js +++ b/build/rules/fonts.js @@ -12,4 +12,4 @@ module.exports = { publicPath: config.paths.relative, name: config.outputs.font.filename, } -} \ No newline at end of file +} diff --git a/build/rules/images.js b/build/rules/images.js index 9121ee3..7309310 100644 --- a/build/rules/images.js +++ b/build/rules/images.js @@ -13,4 +13,4 @@ module.exports = { name: config.outputs.image.filename, emitFile: false } -} \ No newline at end of file +} diff --git a/build/rules/sass.js b/build/rules/sass.js index 0ed0530..b549947 100644 --- a/build/rules/sass.js +++ b/build/rules/sass.js @@ -35,4 +35,4 @@ module.exports = { ], fallback: 'style-loader' }) -} \ No newline at end of file +} diff --git a/build/webpack.config.js b/build/webpack.config.js index 91e7012..b81d164 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -131,4 +131,4 @@ if (! isdev) { svgo: { removeUnknownsAndDefaults: false, cleanupIDs: false } }) ) -} \ No newline at end of file +}