mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-22 11:03:49 +01:00
Fix install
need to install with `npm i --force` now
This commit is contained in:
parent
3b440b346a
commit
06efd35119
27456
package-lock.json
generated
27456
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user