update: Improve packing speed

This commit is contained in:
mokinzhao 2021-10-01 09:33:48 +08:00
parent 10d7a504eb
commit e4dd3d162e
2 changed files with 6528 additions and 3311 deletions

View File

@ -3,20 +3,22 @@ import { defineConfig } from 'umi';
const { ModuleFederationPlugin } = require("webpack").container;
export default defineConfig({
nodeModulesTransform: {
type: 'none',
},
dynamicImport: {
loading: '@/components/LoadingCp',
},
dva: {
immer: true,
},
devtool: 'source-map',
// devtool: 'source-map',
antd: {},
title: 'h5-dooring',
// exportStatic: {},
base: '/',
publicPath: '/',
outputPath: 'dist',
esbuild: {},
routes: [
{
exact: false,

File diff suppressed because it is too large Load Diff