Skip to content

Commit

Permalink
release: 4.0.0-beta.18
Browse files Browse the repository at this point in the history
  • Loading branch information
richard1015 committed Jan 9, 2023
1 parent 07ea99d commit f343343
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui",
"version": "4.0.0-beta.17",
"version": "4.0.0-beta.18",
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
"main": "dist/nutui.umd.cjs",
"module": "dist/nutui.es.js",
Expand Down Expand Up @@ -77,8 +77,8 @@
}
},
"dependencies": {
"@nutui/icons-vue": "0.0.23",
"@nutui/icons-vue-taro": "0.0.3",
"@nutui/icons-vue": "^0.0.23",
"@nutui/icons-vue-taro": "^0.0.8",
"@tarojs/components": "3.5.6",
"sass": "^1.50.0",
"vue-router": "^4.0.12"
Expand Down
2 changes: 1 addition & 1 deletion publish/nutui-taro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui-taro",
"version": "4.0.0-beta.17",
"version": "4.0.0-beta.18",
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
"main": "dist/nutui.umd.cjs",
"module": "dist/nutui.es.js",
Expand Down
2 changes: 1 addition & 1 deletion publish/nutui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui",
"version": "4.0.0-beta.17",
"version": "4.0.0-beta.18",
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
"main": "dist/nutui.umd.cjs",
"module": "dist/nutui.es.js",
Expand Down
1 change: 1 addition & 0 deletions src/packages/__VUE/signature/index.taro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export default create({
emit('signing', evt);
// @ts-ignore
let mouseX = evt.x || evt.clientX;
// @ts-ignore
let mouseY = evt.y || evt.clientY;
if (Taro.getEnv() === 'WEB') {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.build.taro.vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineConfig({
minify: false,
rollupOptions: {
// 请确保外部化那些你的库中不需要的依赖
external: ['vue', 'vue-router', '@tarojs/taro', '@tarojs/components', '@nutui/icons-vue'],
external: ['vue', 'vue-router', '@tarojs/taro', '@tarojs/components', '@nutui/icons-vue-taro'],
output: {
// 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
globals: {
Expand Down
3 changes: 2 additions & 1 deletion vite.config.build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ export default defineConfig({
minify: true,
rollupOptions: {
// 请确保外部化那些你的库中不需要的依赖
external: ['vue', 'vue-router', '@nutui/icons-vue'],
external: ['vue', 'vue-router'],
output: {
// 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
globals: {
vue: 'Vue'
},
exports: 'named',
plugins: []
}
},
Expand Down

0 comments on commit f343343

Please sign in to comment.