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-config-airbnb": "^3.1.0",
"eslint-plugin-react": "^3.16.1", "eslint-plugin-react": "^3.16.1",
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"google-fonts-webpack-plugin": "^0.4.4",
"html-webpack-plugin": "^2.29.0", "html-webpack-plugin": "^2.29.0",
"html-webpack-template": "^6.0.2", "html-webpack-template": "^6.0.2",
"image-webpack-loader": "^4.2.0", "image-webpack-loader": "^4.2.0",

View File

@ -1,7 +1,6 @@
const path = require('path'); const path = require('path');
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const HTMLWebpackPlugin = require('html-webpack-plugin'); const HTMLWebpackPlugin = require('html-webpack-plugin');
const GoogleFontsPlugin = require('google-fonts-webpack-plugin');
const devMode = process.env.NODE_ENV !== 'production'; const devMode = process.env.NODE_ENV !== 'production';
const analyzeBundle = process.env.ANALYZE_BUNDLE; const analyzeBundle = process.env.ANALYZE_BUNDLE;
@ -75,6 +74,11 @@ module.exports = {
pngquant: { quality: '65-90', speed: 4 } pngquant: { quality: '65-90', speed: 4 }
} }
}] : [])] }] : [])]
}, {
test: /\.(woff)$/,
use: {
loader: 'file-loader'
}
}, { }, {
test: /\.glsl$/, test: /\.glsl$/,
use: ['raw-loader'] use: ['raw-loader']
@ -90,18 +94,6 @@ module.exports = {
hash: !devMode, hash: !devMode,
appMountId: 'app' 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, devtool: devMode ? 'source-map' : false,
devServer: { devServer: {