mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 19:41:17 -04:00
fixed webfonts, rebumping css-loader to 6.0.0
https://github.com/webpack-contrib/css-loader/issues/1338 https://webpack.js.org/guides/asset-modules/#resource-assets
This commit is contained in:
@@ -125,15 +125,10 @@ export default {
|
||||
},
|
||||
{
|
||||
test: /\.(woff(2)?|ttf|otf|eot)$/,
|
||||
use: [
|
||||
{
|
||||
loader: "file-loader",
|
||||
options: {
|
||||
name: "[name].[ext]",
|
||||
outputPath: "fonts/",
|
||||
},
|
||||
},
|
||||
],
|
||||
type: "asset/resource",
|
||||
generator: {
|
||||
filename: "fonts/[name][ext]",
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user