Switch to font source for open sans (#2220)

* switch to font source for open sans

* add 700 font weight
This commit is contained in:
Mutasem Aldmour
2021-09-21 14:35:55 +02:00
committed by GitHub
parent 8d42eddfc2
commit 53fbf664b5
3 changed files with 6 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
const GoogleFontsPlugin = require('@beyonk/google-fonts-webpack-plugin');
module.exports = {
chainWebpack: config => config.resolve.symlinks(false),
// transpileDependencies: [
@@ -12,14 +10,6 @@ module.exports = {
},
},
configureWebpack: {
plugins: [
new GoogleFontsPlugin({
apiUrl: 'https://n8n-google-fonts-helper.herokuapp.com/api/fonts',
fonts: [
{ family: 'Open Sans', variants: ['300', '400', '600', '700'] },
],
}),
],
devServer: {
disableHostCheck: true,
},