Fix install

need to install with `npm i --force` now
This commit is contained in:
casper 2021-05-16 13:22:05 +02:00
parent 3b440b346a
commit 06efd35119
3 changed files with 20029 additions and 7446 deletions

27456
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -57,7 +57,6 @@
"eslint-config-airbnb": "^3.1.0",
"eslint-plugin-react": "^3.16.1",
"file-loader": "^1.1.11",
"google-fonts-webpack-plugin": "^0.4.4",
"html-webpack-plugin": "^2.29.0",
"html-webpack-template": "^6.0.2",
"image-webpack-loader": "^4.2.0",

View File

@ -1,7 +1,6 @@
const path = require('path');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const HTMLWebpackPlugin = require('html-webpack-plugin');
const GoogleFontsPlugin = require('google-fonts-webpack-plugin');
const devMode = process.env.NODE_ENV !== 'production';
const analyzeBundle = process.env.ANALYZE_BUNDLE;
@ -75,6 +74,11 @@ module.exports = {
pngquant: { quality: '65-90', speed: 4 }
}
}] : [])]
}, {
test: /\.(woff)$/,
use: {
loader: 'file-loader'
}
}, {
test: /\.glsl$/,
use: ['raw-loader']
@ -90,18 +94,6 @@ module.exports = {
hash: !devMode,
appMountId: 'app'
}),
new GoogleFontsPlugin({
fonts: [
{ family: 'Oswald' },
{ family: 'Ranga' },
{ family: 'Joti One' },
{ family: 'Bellefair' },
{ family: 'Lobster' },
{ family: 'Abril Fatface' },
{ family: 'Play' },
{ family: 'Fascinate' }
]
})
],
devtool: devMode ? 'source-map' : false,
devServer: {