ui: better config page layout

This commit is contained in:
undefined committed 2025-03-25 18:27:43 +08:00
1 parent 4421f98620
commit f305110381
27 files changed
+748 -377

No files matched your search

@@ -88,6 +88,14 @@ export default async function (env: { watch?: boolean, production?: boolean, mea
};
}
function scssLoader() {
return {
loader: 'sass-loader',
options: {
},
};
}
const config: import('webpack').Configuration = {
// bail: !env.production,
mode: (env.production || env.measure) ? 'production' : 'development',
@@ -200,6 +208,10 @@ export default async function (env: { watch?: boolean, production?: boolean, mea
test: /\.styl$/,
use: [extractCssLoader(), cssLoader(), postcssLoader(), stylusLoader()],
},
{
test: /\.scss$/,
use: [extractCssLoader(), cssLoader(), postcssLoader(), scssLoader()],
},
{
test: /\.css$/,
use: [extractCssLoader(), cssLoader(), postcssLoader()],