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 2d28421 commit 46bf236Copy full SHA for 46bf236
tsconfig.json
@@ -13,11 +13,6 @@
13
"strict": true,
14
"allowSyntheticDefaultImports": true
15
},
16
- "include": [
17
- "src/**/*"
18
- ],
19
- "exclude": [
20
- "node_modules/**/*",
21
- "dist"
22
- ]
23
-}
+ "include": ["src/**/*", "src/global.d.ts"],
+ "exclude": ["node_modules/**/*", "dist"]
+}
vite.build.ts
@@ -19,14 +19,11 @@ export default defineConfig({
fileName: 'pixi_viewport',
rollupOptions: {
- external: [
- 'pixi.js',
24
- ...Object.keys(globals),
25
+ external: ['pixi.js', ...Object.keys(globals)],
26
output: {
27
- globals
+ globals,
28
29
30
31
- plugins: [dts()]
+ plugins: [dts({ copyDtsFiles: true })],
32
});
0 commit comments