ui: scratchpad sidebar

This commit is contained in:
undefined committed 2022-08-01 22:56:04 +08:00
1 parent 981f8a4b9d
commit e3a5543d9f
14 files changed
+239 -65

No files matched your search

+14 -1
View File
@@ -106,7 +106,20 @@ export default function (env = {}) {
module: {
rules: [
{
test: /\.(svg|ttf|eot|woff|woff2|png|jpg|jpeg|gif)$/,
test: /\.svg$/i,
oneOf: [
{
issuer: /\.[jt]sx?$/,
resourceQuery: /react/,
use: { loader: '@svgr/webpack', options: { icon: true } },
},
{
use: [fileLoader()],
},
],
},
{
test: /\.(ttf|eot|woff|woff2|png|jpg|jpeg|gif)$/,
use: [fileLoader()],
},
{