We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1257bd commit d6f1f6eCopy full SHA for d6f1f6e
packages/nutui-taro-demo/config/prod.js
@@ -11,6 +11,8 @@ try {
11
/* empty */
12
}
13
14
+console.log(hash && UI ? `-${hash}` : '')
15
+
16
module.exports = {
17
env: {
18
NODE_ENV: '"production"',
@@ -19,7 +21,7 @@ module.exports = {
19
21
defineConstants: {},
20
22
mini: {},
23
h5: {
- publicPath: `/taro/react/3x/demo-${hash}`,
24
+ publicPath: `/taro/react/3x/demo${hash && UI ? `-${hash}` : ''}`,
25
/**
26
* WebpackChain 插件配置
27
* @docs https://github.com/neutrinojs/webpack-chain
0 commit comments