packages/cli: use asset loader for bundling all assets

This commit is contained in:
Patrik Oldsberg
2020-05-16 16:36:14 +02:00
parent 9c3de313fc
commit 0f718ca558
-1
View File
@@ -73,7 +73,6 @@ export function createConfig(options: BundlingOptions): webpack.Configuration {
{
test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.frag/, /\.xml/],
loader: 'url-loader',
include: paths.targetAssets,
options: {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]',