Skip to content

Commit 8ddee7c

Browse files
committed
chore: update publich path
1 parent 118165a commit 8ddee7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/nutui-taro-demo/config/prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
defineConstants: {},
2222
mini: {},
2323
h5: {
24-
publicPath: `/taro/react/${process.env.VITE_APP_PROJECT_ID === 'jmapp' ? 'jdesign-3x' : '3x'}/demo${hash && UI ? `-${hash}` : ''}`,
24+
publicPath: `/taro/react/${process.env.VITE_APP_PROJECT_ID === 'jmapp' ? 'jmapp-3x' : '3x'}/demo${hash && UI ? `-${hash}` : ''}`,
2525
/**
2626
* WebpackChain 插件配置
2727
* @docs https://github.com/neutrinojs/webpack-chain

vite.config.demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (projectID) {
1717
export default defineConfig(async (): Promise<UserConfig> => {
1818
return {
1919
mode: 'production',
20-
base: `/h5/react/${projectID === 'jmapp' ? 'jdesign-3x' : '3x'}`,
20+
base: `/h5/react/${projectID === 'jmapp' ? 'jmapp-3x' : '3x'}`,
2121
resolve: {
2222
alias: [
2323
{

0 commit comments

Comments
 (0)