X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fconfig%2Fwebpack.common.js;h=61347dba2060e3ec80d7480a346cb0d335487e50;hb=46757b477c1adb5f98060d15998a3852e18902a6;hp=a81bca9d2854b70bcc98389c147268ebd0be5d55;hpb=294f80f21e8a77d25f6fb5f0f26887fb4618ee2e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index a81bca9d2..61347dba2 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js @@ -135,7 +135,13 @@ module.exports = function (options) { test: /\.(sass|scss)$/, use: [ 'css-to-string-loader', - 'css-loader?sourceMap', + { + loader: 'css-loader', + options: { + sourceMap: true, + importLoaders: 1 + } + }, 'resolve-url-loader', { loader: 'sass-loader', @@ -174,7 +180,7 @@ module.exports = function (options) { */ { test: /\.(jpg|png|gif)$/, - use: 'file-loader' + use: 'url-loader' } ] @@ -256,10 +262,10 @@ module.exports = function (options) { */ // Used by embed.html new CopyWebpackPlugin([ - { - from: 'src/assets', - to: 'assets' - }, + // { + // from: 'src/assets', + // to: 'assets' + // }, { from: 'src/standalone', to: 'standalone'