houwenjian 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vite.config.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houwenjian",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "vite.config.js",
5
5
  "dependencies": {
6
6
  "csstype": "^3.2.3",
package/vite.config.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineConfig } from 'vite';
2
2
  import vue from '@vitejs/plugin-vue';
3
- import peerDepsExternal from 'rollup-plugin-peer-deps-external';
4
3
 
5
4
  export default defineConfig({
6
5
  build: {
@@ -11,7 +10,6 @@ export default defineConfig({
11
10
  },
12
11
  rollupOptions: {
13
12
  external: ['vue'], // 将vue作为peerDependency
14
- plugins: [peerDepsExternal()],
15
13
  output: {
16
14
  globals: {
17
15
  vue: 'Vue' // UMD模式下映射vue到全局变量