Commit da733917 authored by 刘世达's avatar 刘世达

feat: 更新业务组件库版本

parent d410e1af
......@@ -2367,9 +2367,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.3.74",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.74.tgz",
"integrity": "sha512-fHUqjv4wmpmn7XGPaOy7JuOqRJVPZfG8glQEjGsQxqb4VReMPWSLfZ9PB0w25987HZi/W62Vh9aYXtIbe0DAMg==",
"version": "0.3.78",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.3.78.tgz",
"integrity": "sha512-4ItZRnqsI4dpIqHKdJhBA6KllJzYy6/EcOEj3WylFNKrfkj37h6+l6pLWP3JfrpuWzDEBGBXco2zH3kGYAjG+A==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.23.9",
......@@ -159,7 +159,22 @@ module.exports = {
instance.upload();
},
customize(webpackConfig){
// 此外 webpackConfig 为原生生成的 webpack config,可以进行自定义处理
return webpackConfig;
// 此外 webpackConfig 为原生生成的 webpack config,可以进行自定义处理
// ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓开发时需要直接修改 node_modules 下某些包并触发热更新↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
// // 1) 调整 watch 忽略策略:仅忽略除了白名单以外的 node_modules
// // 2) 关闭 managedPaths 缓存优化,避免 webpack 把 node_modules 当作稳定不变
// // 3) 关闭 symlinks 以支持本地 link/直接编辑
// webpackConfig.watchOptions =
// webpackConfig.watchOptions || {};
// webpackConfig.watchOptions.ignored = /[\\\/]node_modules[\\\/](?!(@qg[\\\/]citrus-ui|@qg[\\\/]cherry-ui|@interactjs)[\\\/])/;
// // 低版本 webpack 不支持 snapshot,避免配置校验错误
// webpackConfig.resolve = webpackConfig.resolve || {};
// webpackConfig.resolve.symlinks = false;
// ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑开发时需要直接修改 node_modules 下某些包并触发热更新↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
return webpackConfig;
}
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment