Skip to content

Commit

Permalink
update: Improve packing speed
Browse files Browse the repository at this point in the history
  • Loading branch information
mokinzhao committed Oct 1, 2021
1 parent 10d7a50 commit e4dd3d1
Show file tree
Hide file tree
Showing 2 changed files with 6,618 additions and 3,401 deletions.
6 changes: 4 additions & 2 deletions packages/editor/.umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit e4dd3d1

Please sign in to comment.