-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or request
Description
Assets such as fonts, images, etc should be handled using the built-in Webpack asset manager, not the file-loader.
{
test: /\.(jpe?g|gif|png|svg|woff2?|ttf|eot|wav|mp3|mp4)(\?.*$|$)/,
type: 'asset/resource'
}Also, the bundles' file name should be changed to dist/[NAME].[EXT] to [NAME].[EXT]. This applies to both the JS and the CSS bundle.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or request