ui: use inline worker

This commit is contained in:
undefined committed 2022-09-03 13:25:46 +08:00
1 parent 5af9bd6b88
commit 0e07c64cad
3 files changed
+7 -3

No files matched your search

@@ -113,6 +113,10 @@ export default function (env: { production?: boolean, measure?: boolean } = {})
},
],
},
{
resourceQuery: /inline/,
type: 'asset/inline',
},
{
test: /\.(ttf|eot|woff|woff2|png|jpg|jpeg|gif)$/,
type: 'asset/resource',