Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-08-08 15:27:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ba46a0882d2dafb5589797070ce77415f11b92a8
ba46a088
1 parent
e5bf0c55
编译手动分包
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
vite.config.js
vite.config.js
View file @
ba46a08
...
...
@@ -144,6 +144,12 @@ export default ({ command, mode }) => {
main
:
path
.
resolve
(
__dirname
,
'index.html'
),
// mono1: path.resolve(__dirname, 'src/packages/mono1/index.html'),
// mono2: path.resolve(__dirname, 'src/packages/mono2/index.html'),
},
manualChunks
(
id
)
{
if
(
id
.
includes
(
'node_modules'
))
{
return
id
.
toString
().
split
(
'node_modules/'
)[
1
].
split
(
'/'
)[
0
].
toString
();
// return 'vendor';
}
}
},
},
...
...
Please
register
or
login
to post a comment