mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
feat: add scheduling anomaly drill-down and improve dev startup
This commit is contained in:
1 parent
d9e9e083ab
commit
2070931c82
21 files changed
+1185
-54
No files matched your search
@@ -24,14 +24,16 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
chainWebpack: ((config: any) => {
|
||||
config.plugin('compression-webpack-plugin').use(
|
||||
new CompressionPlugin({
|
||||
algorithm: 'gzip',
|
||||
test: new RegExp('\\.(js|css)$'),
|
||||
threshold: 10240,
|
||||
minRatio: 0.6,
|
||||
}),
|
||||
);
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
config.plugin('compression-webpack-plugin').use(
|
||||
new CompressionPlugin({
|
||||
algorithm: 'gzip',
|
||||
test: new RegExp('\\.(js|css)$'),
|
||||
threshold: 10240,
|
||||
minRatio: 0.6,
|
||||
}),
|
||||
);
|
||||
}
|
||||
}) as any,
|
||||
headScripts: [`./api/env.js`],
|
||||
copy: [
|
||||
|
||||
Reference in new issue
Block a user