mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2025-12-12 18:22:51 +00:00
update: Improve packing speed
This commit is contained in:
parent
10d7a504eb
commit
e4dd3d162e
@ -3,20 +3,22 @@ import { defineConfig } from 'umi';
|
|||||||
const { ModuleFederationPlugin } = require("webpack").container;
|
const { ModuleFederationPlugin } = require("webpack").container;
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
nodeModulesTransform: {
|
||||||
|
type: 'none',
|
||||||
|
},
|
||||||
dynamicImport: {
|
dynamicImport: {
|
||||||
loading: '@/components/LoadingCp',
|
loading: '@/components/LoadingCp',
|
||||||
},
|
},
|
||||||
dva: {
|
dva: {
|
||||||
immer: true,
|
immer: true,
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
// devtool: 'source-map',
|
||||||
antd: {},
|
antd: {},
|
||||||
title: 'h5-dooring',
|
title: 'h5-dooring',
|
||||||
// exportStatic: {},
|
// exportStatic: {},
|
||||||
base: '/',
|
base: '/',
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
outputPath: 'dist',
|
outputPath: 'dist',
|
||||||
esbuild: {},
|
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
exact: false,
|
exact: false,
|
||||||
|
|||||||
9837
packages/editor/package-lock.json
generated
9837
packages/editor/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user