aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/config/webpack.common.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-19 22:27:17 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-19 22:27:17 +0200
commitad22074a780b4bdbe3cd9e903b3fa5ef83eaef14 (patch)
treefc44ffb9e7feba0688eed18b41af8b6df693cf7d /client/config/webpack.common.js
parentd268c551cc0cbe2f83f8cc9533ce5f636eda860a (diff)
downloadPeerTube-ad22074a780b4bdbe3cd9e903b3fa5ef83eaef14.tar.gz
PeerTube-ad22074a780b4bdbe3cd9e903b3fa5ef83eaef14.tar.zst
PeerTube-ad22074a780b4bdbe3cd9e903b3fa5ef83eaef14.zip
Client: fix prod build process
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r--client/config/webpack.common.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js
index 88a3639d2..882013a9e 100644
--- a/client/config/webpack.common.js
+++ b/client/config/webpack.common.js
@@ -142,15 +142,11 @@ module.exports = function (options) {
142 }, 142 },
143 143
144 { 144 {
145 test: /\.scss$/, 145 test: /\.(sass|scss)$/,
146 exclude: /node_modules/, 146 loaders: ['css-to-string-loader', 'css-loader?sourceMap', 'resolve-url', 'sass-loader?sourceMap']
147 loaders: [ 'raw-loader', 'sass-loader' ]
148 },
149
150 {
151 test: /\.(woff2?|ttf|eot|svg)$/,
152 loader: 'url?limit=10000&name=assets/fonts/[hash].[ext]'
153 }, 147 },
148 { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url?limit=10000&minetype=application/font-woff' },
149 { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'file' },
154 150
155 /* Raw loader support for *.html 151 /* Raw loader support for *.html
156 * Returns file content as string 152 * Returns file content as string