Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixi-viewport",
"version": "6.0.1",
"version": "6.0.2",
"description": "A highly configurable viewport/2D camera designed to work with pixi.js. Features include dragging, pinch-to-zoom, mouse wheel zooming, decelerated dragging, follow target, snap to point, snap to zoom, clamping, bouncing on edges, and move on mouse edges.",
"main": "./dist/pixi_viewport.umd.cjs",
"module": "./dist/pixi_viewport.js",
Expand Down
11 changes: 3 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"strict": true,
"allowSyntheticDefaultImports": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules/**/*",
"dist"
]
}
"include": ["src/**/*", "src/global.d.ts"],
"exclude": ["node_modules/**/*", "dist"]
}
9 changes: 3 additions & 6 deletions vite.build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ export default defineConfig({
fileName: 'pixi_viewport',
},
rollupOptions: {
external: [
'pixi.js',
...Object.keys(globals),
],
external: ['pixi.js', ...Object.keys(globals)],
output: {
globals
globals,
},
},
},
plugins: [dts()]
plugins: [dts({ copyDtsFiles: true })],
});
Loading