Verified Commit 202628c2 authored by Elias Häußler's avatar Elias Häußler 🐛

[TASK] Move configuration of fonts into config.yml file

parent b45bee52
Pipeline #59 passed with stages
in 1 minute and 16 seconds
......@@ -21,3 +21,9 @@ PATHS:
SERVER:
port: 8000
FONTS:
- family: "Inconsolata"
variants: ["400"]
- family: "Open Sans"
variants: ["400", "italic", "700"]
......@@ -4,6 +4,7 @@
const GoogleFontsPlugin = require('google-fonts-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const {FONTS} = require('./gulp/config');
module.exports = {
module: {
......@@ -22,10 +23,7 @@ module.exports = {
},
plugins: [
new GoogleFontsPlugin({
fonts: [
{ family: "Inconsolata", variants: ["400"] },
{ family: "Open Sans", variants: ["400", "italic", "700"] }
],
fonts: FONTS,
filename: "../css/fonts.css",
path: "../fonts/"
}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment