Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-07-04 21:34:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2ef2df83cb411d590a2aa63495c0850617e9cac0
2ef2df83
1 parent
36160eee
perf(config): 启用webpack持久化缓存以提高构建性能
开启webpack持久化缓存可以显著减少重复构建时间,提升开发体验
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config/index.js
config/index.js
View file @
2ef2df8
...
...
@@ -56,7 +56,7 @@ export default defineConfig(async (merge) => {
}
},
cache
:
{
enable
:
fals
e
// Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
enable
:
tru
e
// Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
},
sass
:{
data
:
`@import "@nutui/nutui-taro/dist/styles/variables.scss";`
...
...
Please
register
or
login
to post a comment