Merge pull request #129 from mokinzhao/master

update: Improve packing speed
This commit is contained in:
mokinzhao 2021-10-01 09:34:34 +08:00 committed by GitHub
commit 2c46d0e86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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