Skip to content

Switch to built-in Webpack asset management #792

@scriptex

Description

@scriptex

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

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions