We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bef3d commit fe165deCopy full SHA for fe165de
packages/xpra/package.json
@@ -9,7 +9,8 @@
9
"exports": {
10
".": {
11
"import": "./dist/xpra.es.js",
12
- "require": "./dist/xpra.umd.js"
+ "require": "./dist/xpra.umd.js",
13
+ "types": "./dist/src/index.d.ts"
14
}
15
},
16
"files": [
packages/xpra/vite.config.ts
@@ -1,9 +1,9 @@
1
-import * as path from 'path'
+import * as path from 'node:path'
2
import dts from 'vite-plugin-dts'
3
-import { defineConfig } from 'vite'
+import { defineConfig, type Plugin } from 'vite'
4
import { visualizer } from 'rollup-plugin-visualizer'
5
6
-const plugins = []
+const plugins: Plugin[] = []
7
8
if (process.env.VITE_STATS) {
plugins.push(visualizer())
0 commit comments