tutor-pro-ui-vue 1.0.4-beta → 1.0.5-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/examples/common-button/index.vue +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/vite.config.ts +4 -4
- package/docs/package-lock.json +0 -3939
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/vite.config.ts
CHANGED
|
@@ -4,7 +4,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
|
4
4
|
import dts from 'vite-plugin-dts';
|
|
5
5
|
|
|
6
6
|
// 需要下载@types/node
|
|
7
|
-
import path from 'path';
|
|
7
|
+
import path, { resolve } from 'path';
|
|
8
8
|
|
|
9
9
|
// https://vite.dev/config/
|
|
10
10
|
export default defineConfig({
|
|
@@ -27,11 +27,11 @@ export default defineConfig({
|
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
lib: {
|
|
30
|
-
// entry:
|
|
31
|
-
entry: '
|
|
30
|
+
// entry: './src/index.ts',
|
|
31
|
+
entry: resolve(__dirname, 'src/index.ts'),
|
|
32
32
|
name: 'tutor-pro-ui-vue',
|
|
33
33
|
// formats: ['es', 'cjs'],
|
|
34
|
-
|
|
34
|
+
formats: ['es', 'umd', 'cjs'],
|
|
35
35
|
fileName: 'tutor-pro-ui-vue',
|
|
36
36
|
},
|
|
37
37
|
},
|