Skip to content

Commit 4e206b8

Browse files
authored
chore: jdesign 主题 (#2703)
1 parent 7f87c66 commit 4e206b8

File tree

4 files changed

+898
-57
lines changed

4 files changed

+898
-57
lines changed

packages/nutui-replace-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nutui/replace-icons",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "",
55
"keywords": [
66
"Taro",

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
const projectID = process.env.VITE_APP_PROJECT_ID
2+
const publicPath = `/taro/react/${projectID === 'jmapp' ? 'jdesign' : '2x'}/demo`
3+
14
module.exports = {
25
env: {
36
NODE_ENV: '"production"',
47
},
58
defineConstants: {},
69
mini: {},
710
h5: {
8-
publicPath: '/taro/react/2x/demo',
11+
publicPath,
912
/**
1013
* WebpackChain 插件配置
1114
* @docs https://github.com/neutrinojs/webpack-chain

packages/nutui-taro-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"author": "",
4646
"dependencies": {
4747
"@babel/runtime": "^7.23.9",
48-
"@nutui/replace-icons": "^1.0.0",
48+
"@nutui/replace-icons": "^1.0.3",
4949
"@nutui/touch-emulator": "^1.0.0",
5050
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
5151
"@tarojs/components": "3.6.22",

0 commit comments

Comments
 (0)