File tree 1 file changed +7
-4
lines changed 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ const CleanWebpackPlugin = require('clean-webpack-plugin');
5
5
6
6
// TODO
7
7
// - Generate styles
8
- // - Fix font paths
9
8
// - Minify in prod
10
9
// - Concatenate script assets
11
10
// - Copy fonts, pdfs etc
12
11
// - use environment configurations (dev, prod)
13
- // - minify images
12
+ // - minify images (and make font regex matcher more specific to put the logo SVGs into images folder)
14
13
// - build faq (+ vue)
15
14
// - replace npm build scripts
16
15
// - delete gulpfile & browserify
@@ -40,7 +39,11 @@ const commonConfig = merge( [
40
39
test : / \. s c s s $ / ,
41
40
use : [
42
41
{
43
- loader : MiniCssExtractPlugin . loader
42
+ // Extract CSS modules into files
43
+ loader : MiniCssExtractPlugin . loader ,
44
+ options : {
45
+ publicPath : '../'
46
+ }
44
47
} ,
45
48
{ loader : "css-loader" } , // translates CSS into CommonJS
46
49
{
@@ -49,7 +52,7 @@ const commonConfig = merge( [
49
52
options : {
50
53
plugins : function ( ) {
51
54
return [
52
- require ( 'autoprefixer' )
55
+ require ( 'autoprefixer' )
53
56
] ;
54
57
}
55
58
}
You can’t perform that action at this time.
0 commit comments