phecda-module 2.0.2-alpha.1 → 2.0.2

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.
@@ -1,23 +1,23 @@
1
1
 
2
- > phecda-module@2.0.2-alpha.1 build /home/runner/work/phecda/phecda/packages/module
2
+ > phecda-module@2.0.2-alpha.2 build D:\myproject\phecda\packages\module
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts, src/vite.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.3.6
8
- CLI Using tsup config: /home/runner/work/phecda/phecda/packages/module/tsup.config.ts
8
+ CLI Using tsup config: D:\myproject\phecda\packages\module\tsup.config.ts
9
9
  CLI Target: esnext
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/index.js 3.15 KB
13
- CJS dist/vite.js 1.34 KB
14
- CJS ⚡️ Build success in 47ms
15
- ESM dist/index.mjs 1.86 KB
16
- ESM dist/vite.mjs 519.00 B
17
- ESM ⚡️ Build success in 47ms
12
+ CJS dist\index.js 3.15 KB
13
+ CJS dist\vite.js 1.34 KB
14
+ CJS ⚡️ Build success in 361ms
15
+ ESM dist\index.mjs 1.86 KB
16
+ ESM dist\vite.mjs 519.00 B
17
+ ESM ⚡️ Build success in 364ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 5865ms
20
- DTS dist/index.d.ts 191.00 B
21
- DTS dist/vite.d.ts 210.00 B
22
- DTS dist/index.d.mts 191.00 B
23
- DTS dist/vite.d.mts 210.00 B
19
+ DTS ⚡️ Build success in 6518ms
20
+ DTS dist\index.d.ts 191.00 B
21
+ DTS dist\vite.d.ts 210.00 B
22
+ DTS dist\index.d.mts 191.00 B
23
+ DTS dist\vite.d.mts 210.00 B
package/CHANGELOG.md CHANGED
@@ -1,287 +1,304 @@
1
- # phecda-module
2
-
3
- ## 2.0.2-alpha.1
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [dd27622]
8
- - phecda-core@4.1.0-alpha.1
9
-
10
- ## 2.0.2-alpha.0
11
-
12
- ### Patch Changes
13
-
14
- - Updated dependencies [c1b7d65]
15
- - phecda-core@4.1.0-alpha.0
16
-
17
- ## 2.0.1
18
-
19
- ### Patch Changes
20
-
21
- - Updated dependencies [bffb0a0]
22
- - phecda-core@4.0.1
23
-
24
- ## 2.0.0
25
-
26
- ### Major Changes
27
-
28
- - 831c910: release core v4
29
-
30
- 1. refactor how meta is set and get
31
- 2. refactor Phecda target structure
32
- 3. remove some useless decorators
33
-
34
- ### Patch Changes
35
-
36
- - Updated dependencies [831c910]
37
- - phecda-core@4.0.0
38
-
39
- ## 1.0.8
40
-
41
- ### Patch Changes
42
-
43
- - Updated dependencies [c126577]
44
- - Updated dependencies [c126577]
45
- - phecda-core@3.1.1
46
-
47
- ## 1.0.7
48
-
49
- ### Patch Changes
50
-
51
- - Updated dependencies [f477841]
52
- - phecda-core@3.1.0
53
-
54
- ## 1.0.6
55
-
56
- ### Patch Changes
57
-
58
- - Updated dependencies [a55a92f]
59
- - phecda-core@3.0.2
60
-
61
- ## 1.0.5
62
-
63
- ### Patch Changes
64
-
65
- - Updated dependencies [c18997a]
66
- - phecda-core@3.0.1
67
-
68
- ## 1.0.4
69
-
70
- ### Patch Changes
71
-
72
- - Updated dependencies [f25189c]
73
- - Updated dependencies [37bdc86]
74
- - Updated dependencies [b041748]
75
- - Updated dependencies [c40fece]
76
- - Updated dependencies [e8582aa]
77
- - Updated dependencies [e254263]
78
- - Updated dependencies [d1f7041]
79
- - Updated dependencies [c9445c6]
80
- - Updated dependencies [79484c3]
81
- - Updated dependencies [b041748]
82
- - Updated dependencies [c6427b1]
83
- - Updated dependencies [7b0d6fa]
84
- - Updated dependencies [c2c6a5f]
85
- - Updated dependencies [671fbc9]
86
- - Updated dependencies [4621244]
87
- - Updated dependencies [f83af88]
88
- - Updated dependencies [5a477d0]
89
- - Updated dependencies [ad47e7b]
90
- - Updated dependencies [671fbc9]
91
- - Updated dependencies [dbb599a]
92
- - Updated dependencies [074a815]
93
- - Updated dependencies [3fd911a]
94
- - Updated dependencies [aefd80c]
95
- - Updated dependencies [7242bb6]
96
- - Updated dependencies [8f35d74]
97
- - Updated dependencies [fc8db58]
98
- - phecda-core@3.0.0
99
-
100
- ## 1.0.4-beta.17
101
-
102
- ### Patch Changes
103
-
104
- - Updated dependencies [c2c6a5f]
105
- - phecda-core@3.0.0-beta.17
106
-
107
- ## 1.0.4-beta.16
108
-
109
- ### Patch Changes
110
-
111
- - Updated dependencies [b041748]
112
- - Updated dependencies [b041748]
113
- - phecda-core@3.0.0-beta.16
114
-
115
- ## 1.0.4-beta.15
116
-
117
- ### Patch Changes
118
-
119
- - Updated dependencies [79484c3]
120
- - phecda-core@3.0.0-beta.15
121
-
122
- ## 1.0.4-beta.14
123
-
124
- ### Patch Changes
125
-
126
- - Updated dependencies [074a815]
127
- - phecda-core@3.0.0-beta.14
128
-
129
- ## 1.0.4-beta.13
130
-
131
- ### Patch Changes
132
-
133
- - Updated dependencies [d1f7041]
134
- - Updated dependencies [5a477d0]
135
- - Updated dependencies [aefd80c]
136
- - phecda-core@3.0.0-beta.13
137
-
138
- ## 1.0.4-alpha.12
139
-
140
- ### Patch Changes
141
-
142
- - Updated dependencies [671fbc9]
143
- - Updated dependencies [671fbc9]
144
- - phecda-core@3.0.0-alpha.12
145
-
146
- ## 1.0.4-alpha.11
147
-
148
- ### Patch Changes
149
-
150
- - Updated dependencies [c6427b1]
151
- - Updated dependencies [7b0d6fa]
152
- - Updated dependencies [4621244]
153
- - Updated dependencies [dbb599a]
154
- - phecda-core@3.0.0-alpha.11
155
-
156
- ## 1.0.4-alpha.10
157
-
158
- ### Patch Changes
159
-
160
- - Updated dependencies [e254263]
161
- - phecda-core@3.0.0-alpha.10
162
-
163
- ## 1.0.4-alpha.9
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [3fd911a]
168
- - phecda-core@3.0.0-alpha.9
169
-
170
- ## 1.0.4-alpha.8
171
-
172
- ### Patch Changes
173
-
174
- - Updated dependencies [37bdc86]
175
- - phecda-core@3.0.0-alpha.8
176
-
177
- ## 1.0.4-alpha.7
178
-
179
- ### Patch Changes
180
-
181
- - Updated dependencies [c9445c6]
182
- - Updated dependencies [ad47e7b]
183
- - phecda-core@3.0.0-alpha.7
184
-
185
- ## 1.0.4-alpha.6
186
-
187
- ### Patch Changes
188
-
189
- - Updated dependencies [7242bb6]
190
- - phecda-core@3.0.0-alpha.6
191
-
192
- ## 1.0.4-alpha.5
193
-
194
- ### Patch Changes
195
-
196
- - Updated dependencies [e8582aa]
197
- - phecda-core@3.0.0-alpha.5
198
-
199
- ## 1.0.4-alpha.4
200
-
201
- ### Patch Changes
202
-
203
- - Updated dependencies [f83af88]
204
- - phecda-core@3.0.0-alpha.4
205
-
206
- ## 1.0.4-alpha.3
207
-
208
- ### Patch Changes
209
-
210
- - Updated dependencies [f25189c]
211
- - phecda-core@3.0.0-alpha.3
212
-
213
- ## 1.0.4-alpha.2
214
-
215
- ### Patch Changes
216
-
217
- - Updated dependencies [c40fece]
218
- - phecda-core@3.0.0-alpha.2
219
-
220
- ## 1.0.4-alpha.1
221
-
222
- ### Patch Changes
223
-
224
- - Updated dependencies [fc8db58]
225
- - phecda-core@3.0.0-alpha.1
226
-
227
- ## 1.0.4-alpha.0
228
-
229
- ### Patch Changes
230
-
231
- - Updated dependencies [8f35d74]
232
- - phecda-core@2.1.2-alpha.0
233
-
234
- ## 1.0.3
235
-
236
- ### Patch Changes
237
-
238
- - Updated dependencies [99b458d]
239
- - phecda-core@2.1.1
240
-
241
- ## 1.0.2
242
-
243
- ### Patch Changes
244
-
245
- - Updated dependencies [4c4c45a]
246
- - Updated dependencies [ec66a44]
247
- - Updated dependencies [de7cf57]
248
- - Updated dependencies [de7cf57]
249
- - Updated dependencies [1dd0831]
250
- - phecda-core@2.1.0
251
-
252
- ## 1.0.2-alpha.2
253
-
254
- ### Patch Changes
255
-
256
- - Updated dependencies [ec66a44]
257
- - phecda-core@2.1.0-alpha.2
258
-
259
- ## 1.0.2-alpha.1
260
-
261
- ### Patch Changes
262
-
263
- - Updated dependencies [4c4c45a]
264
- - Updated dependencies [de7cf57]
265
- - Updated dependencies [de7cf57]
266
- - phecda-core@2.1.0-alpha.1
267
-
268
- ## 1.0.2-alpha.0
269
-
270
- ### Patch Changes
271
-
272
- - Updated dependencies [1dd0831]
273
- - phecda-core@2.0.1-alpha.0
274
-
275
- ## 1.0.1
276
-
277
- ### Patch Changes
278
-
279
- - Updated dependencies [d6d2146]
280
- - Updated dependencies [049c138]
281
- - Updated dependencies [78cb57a]
282
- - Updated dependencies [a701f34]
283
- - Updated dependencies [25cf638]
284
- - Updated dependencies [eec80a6]
285
- - Updated dependencies [64c2f70]
286
- - Updated dependencies [8fe5ced]
287
- - phecda-core@2.0.0
1
+ # phecda-module
2
+
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [4d5cc84]
8
+ - Updated dependencies [dd27622]
9
+ - Updated dependencies [d8fdd4e]
10
+ - Updated dependencies [c1b7d65]
11
+ - phecda-core@4.1.0
12
+
13
+ ## 2.0.2-alpha.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [4d5cc84]
18
+ - phecda-core@4.1.0-alpha.2
19
+
20
+ ## 2.0.2-alpha.1
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [dd27622]
25
+ - phecda-core@4.1.0-alpha.1
26
+
27
+ ## 2.0.2-alpha.0
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [c1b7d65]
32
+ - phecda-core@4.1.0-alpha.0
33
+
34
+ ## 2.0.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [bffb0a0]
39
+ - phecda-core@4.0.1
40
+
41
+ ## 2.0.0
42
+
43
+ ### Major Changes
44
+
45
+ - 831c910: release core v4
46
+
47
+ 1. refactor how meta is set and get
48
+ 2. refactor Phecda target structure
49
+ 3. remove some useless decorators
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [831c910]
54
+ - phecda-core@4.0.0
55
+
56
+ ## 1.0.8
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [c126577]
61
+ - Updated dependencies [c126577]
62
+ - phecda-core@3.1.1
63
+
64
+ ## 1.0.7
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [f477841]
69
+ - phecda-core@3.1.0
70
+
71
+ ## 1.0.6
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [a55a92f]
76
+ - phecda-core@3.0.2
77
+
78
+ ## 1.0.5
79
+
80
+ ### Patch Changes
81
+
82
+ - Updated dependencies [c18997a]
83
+ - phecda-core@3.0.1
84
+
85
+ ## 1.0.4
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [f25189c]
90
+ - Updated dependencies [37bdc86]
91
+ - Updated dependencies [b041748]
92
+ - Updated dependencies [c40fece]
93
+ - Updated dependencies [e8582aa]
94
+ - Updated dependencies [e254263]
95
+ - Updated dependencies [d1f7041]
96
+ - Updated dependencies [c9445c6]
97
+ - Updated dependencies [79484c3]
98
+ - Updated dependencies [b041748]
99
+ - Updated dependencies [c6427b1]
100
+ - Updated dependencies [7b0d6fa]
101
+ - Updated dependencies [c2c6a5f]
102
+ - Updated dependencies [671fbc9]
103
+ - Updated dependencies [4621244]
104
+ - Updated dependencies [f83af88]
105
+ - Updated dependencies [5a477d0]
106
+ - Updated dependencies [ad47e7b]
107
+ - Updated dependencies [671fbc9]
108
+ - Updated dependencies [dbb599a]
109
+ - Updated dependencies [074a815]
110
+ - Updated dependencies [3fd911a]
111
+ - Updated dependencies [aefd80c]
112
+ - Updated dependencies [7242bb6]
113
+ - Updated dependencies [8f35d74]
114
+ - Updated dependencies [fc8db58]
115
+ - phecda-core@3.0.0
116
+
117
+ ## 1.0.4-beta.17
118
+
119
+ ### Patch Changes
120
+
121
+ - Updated dependencies [c2c6a5f]
122
+ - phecda-core@3.0.0-beta.17
123
+
124
+ ## 1.0.4-beta.16
125
+
126
+ ### Patch Changes
127
+
128
+ - Updated dependencies [b041748]
129
+ - Updated dependencies [b041748]
130
+ - phecda-core@3.0.0-beta.16
131
+
132
+ ## 1.0.4-beta.15
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [79484c3]
137
+ - phecda-core@3.0.0-beta.15
138
+
139
+ ## 1.0.4-beta.14
140
+
141
+ ### Patch Changes
142
+
143
+ - Updated dependencies [074a815]
144
+ - phecda-core@3.0.0-beta.14
145
+
146
+ ## 1.0.4-beta.13
147
+
148
+ ### Patch Changes
149
+
150
+ - Updated dependencies [d1f7041]
151
+ - Updated dependencies [5a477d0]
152
+ - Updated dependencies [aefd80c]
153
+ - phecda-core@3.0.0-beta.13
154
+
155
+ ## 1.0.4-alpha.12
156
+
157
+ ### Patch Changes
158
+
159
+ - Updated dependencies [671fbc9]
160
+ - Updated dependencies [671fbc9]
161
+ - phecda-core@3.0.0-alpha.12
162
+
163
+ ## 1.0.4-alpha.11
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies [c6427b1]
168
+ - Updated dependencies [7b0d6fa]
169
+ - Updated dependencies [4621244]
170
+ - Updated dependencies [dbb599a]
171
+ - phecda-core@3.0.0-alpha.11
172
+
173
+ ## 1.0.4-alpha.10
174
+
175
+ ### Patch Changes
176
+
177
+ - Updated dependencies [e254263]
178
+ - phecda-core@3.0.0-alpha.10
179
+
180
+ ## 1.0.4-alpha.9
181
+
182
+ ### Patch Changes
183
+
184
+ - Updated dependencies [3fd911a]
185
+ - phecda-core@3.0.0-alpha.9
186
+
187
+ ## 1.0.4-alpha.8
188
+
189
+ ### Patch Changes
190
+
191
+ - Updated dependencies [37bdc86]
192
+ - phecda-core@3.0.0-alpha.8
193
+
194
+ ## 1.0.4-alpha.7
195
+
196
+ ### Patch Changes
197
+
198
+ - Updated dependencies [c9445c6]
199
+ - Updated dependencies [ad47e7b]
200
+ - phecda-core@3.0.0-alpha.7
201
+
202
+ ## 1.0.4-alpha.6
203
+
204
+ ### Patch Changes
205
+
206
+ - Updated dependencies [7242bb6]
207
+ - phecda-core@3.0.0-alpha.6
208
+
209
+ ## 1.0.4-alpha.5
210
+
211
+ ### Patch Changes
212
+
213
+ - Updated dependencies [e8582aa]
214
+ - phecda-core@3.0.0-alpha.5
215
+
216
+ ## 1.0.4-alpha.4
217
+
218
+ ### Patch Changes
219
+
220
+ - Updated dependencies [f83af88]
221
+ - phecda-core@3.0.0-alpha.4
222
+
223
+ ## 1.0.4-alpha.3
224
+
225
+ ### Patch Changes
226
+
227
+ - Updated dependencies [f25189c]
228
+ - phecda-core@3.0.0-alpha.3
229
+
230
+ ## 1.0.4-alpha.2
231
+
232
+ ### Patch Changes
233
+
234
+ - Updated dependencies [c40fece]
235
+ - phecda-core@3.0.0-alpha.2
236
+
237
+ ## 1.0.4-alpha.1
238
+
239
+ ### Patch Changes
240
+
241
+ - Updated dependencies [fc8db58]
242
+ - phecda-core@3.0.0-alpha.1
243
+
244
+ ## 1.0.4-alpha.0
245
+
246
+ ### Patch Changes
247
+
248
+ - Updated dependencies [8f35d74]
249
+ - phecda-core@2.1.2-alpha.0
250
+
251
+ ## 1.0.3
252
+
253
+ ### Patch Changes
254
+
255
+ - Updated dependencies [99b458d]
256
+ - phecda-core@2.1.1
257
+
258
+ ## 1.0.2
259
+
260
+ ### Patch Changes
261
+
262
+ - Updated dependencies [4c4c45a]
263
+ - Updated dependencies [ec66a44]
264
+ - Updated dependencies [de7cf57]
265
+ - Updated dependencies [de7cf57]
266
+ - Updated dependencies [1dd0831]
267
+ - phecda-core@2.1.0
268
+
269
+ ## 1.0.2-alpha.2
270
+
271
+ ### Patch Changes
272
+
273
+ - Updated dependencies [ec66a44]
274
+ - phecda-core@2.1.0-alpha.2
275
+
276
+ ## 1.0.2-alpha.1
277
+
278
+ ### Patch Changes
279
+
280
+ - Updated dependencies [4c4c45a]
281
+ - Updated dependencies [de7cf57]
282
+ - Updated dependencies [de7cf57]
283
+ - phecda-core@2.1.0-alpha.1
284
+
285
+ ## 1.0.2-alpha.0
286
+
287
+ ### Patch Changes
288
+
289
+ - Updated dependencies [1dd0831]
290
+ - phecda-core@2.0.1-alpha.0
291
+
292
+ ## 1.0.1
293
+
294
+ ### Patch Changes
295
+
296
+ - Updated dependencies [d6d2146]
297
+ - Updated dependencies [049c138]
298
+ - Updated dependencies [78cb57a]
299
+ - Updated dependencies [a701f34]
300
+ - Updated dependencies [25cf638]
301
+ - Updated dependencies [eec80a6]
302
+ - Updated dependencies [64c2f70]
303
+ - Updated dependencies [8fe5ced]
304
+ - phecda-core@2.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phecda-module",
3
- "version": "2.0.2-alpha.1",
3
+ "version": "2.0.2",
4
4
  "description": "provide DI and HMR for modules by reflect-metadata and vite",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,7 +33,7 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "reflect-metadata": "^0.1.13",
36
- "phecda-core": "4.1.0-alpha.1"
36
+ "phecda-core": "4.1.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "tsup": "^8.1.0"
package/src/env.d.ts CHANGED
@@ -1,3 +1,3 @@
1
-
2
- declare var __DEV__: boolean
3
- declare var __PS_HMR__:((files:string[])=>void)[]
1
+
2
+ declare var __DEV__: boolean
3
+ declare var __PS_HMR__:((files:string[])=>void)[]
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './core'
2
- export * from 'phecda-core'
1
+ export * from './core'
2
+ export * from 'phecda-core'
package/src/vite.ts CHANGED
@@ -1,13 +1,13 @@
1
- export default function (reg = /\.module\.ts$/) {
2
- return {
3
- name: 'phecda-module-hmr',
4
- enforce: 'pre',
5
- apply: 'serve',
6
- transform(code: string, id: string) {
7
- if (reg.test(id)) {
8
- return code += `\nif (import.meta.hot)
9
- import.meta.hot.accept(__PHECDA_MODULE_UPDATE__)`
10
- }
11
- },
12
- }
13
- }
1
+ export default function (reg = /\.module\.ts$/) {
2
+ return {
3
+ name: 'phecda-module-hmr',
4
+ enforce: 'pre',
5
+ apply: 'serve',
6
+ transform(code: string, id: string) {
7
+ if (reg.test(id)) {
8
+ return code += `\nif (import.meta.hot)
9
+ import.meta.hot.accept(__PHECDA_MODULE_UPDATE__)`
10
+ }
11
+ },
12
+ }
13
+ }
package/tsconfig.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "outDir": "dist",
5
- "sourceMap": false,
6
- "target": "esnext",
7
- "useDefineForClassFields": false,
8
- "module": "esnext",
9
- "moduleResolution": "node",
10
- "allowJs": false,
11
- "strict": true,
12
- "noUnusedLocals": true,
13
- "resolveJsonModule": true,
14
- "esModuleInterop": true,
15
- "removeComments": false,
16
- "strictPropertyInitialization": false,
17
- "experimentalDecorators": true,
18
- "emitDecoratorMetadata": true,
19
- "jsx": "preserve",
20
- "lib": [
21
- "esnext",
22
- "dom"
23
- ],
24
- "types": [
25
- "node"
26
- ]
27
- }
28
- }
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "outDir": "dist",
5
+ "sourceMap": false,
6
+ "target": "esnext",
7
+ "useDefineForClassFields": false,
8
+ "module": "esnext",
9
+ "moduleResolution": "node",
10
+ "allowJs": false,
11
+ "strict": true,
12
+ "noUnusedLocals": true,
13
+ "resolveJsonModule": true,
14
+ "esModuleInterop": true,
15
+ "removeComments": false,
16
+ "strictPropertyInitialization": false,
17
+ "experimentalDecorators": true,
18
+ "emitDecoratorMetadata": true,
19
+ "jsx": "preserve",
20
+ "lib": [
21
+ "esnext",
22
+ "dom"
23
+ ],
24
+ "types": [
25
+ "node"
26
+ ]
27
+ }
28
+ }
package/tsup.config.ts CHANGED
@@ -1,9 +1,9 @@
1
- import type { Options } from 'tsup'
2
-
3
- export const tsup: Options = {
4
- entry: ['src/index.ts', 'src/vite.ts'],
5
- format: ['cjs', 'esm'],
6
- dts: true,
7
- splitting: false,
8
- shims: false,
9
- }
1
+ import type { Options } from 'tsup'
2
+
3
+ export const tsup: Options = {
4
+ entry: ['src/index.ts', 'src/vite.ts'],
5
+ format: ['cjs', 'esm'],
6
+ dts: true,
7
+ splitting: false,
8
+ shims: false,
9
+ }