Closed JuerGenie closed 3 weeks ago
But it's work fine in .ts file:
.ts
This is my tsconfig.json:
tsconfig.json
{ "compilerOptions": { "moduleResolution": "bundler" }, "include": ["."], "exclude": ["dist", "build", "node_modules"] }
and this is my package.json:
package.json
{ "name": "@chrock/vue-excalibur", "version": "0.1.0", "private": true, "main": "./index.ts", "types": "./index.ts", "exports": { ".": "./index.ts", "./*": "./components/*.vue" }, "peerDependencies": { "excalibur": "^0.29.3", "vue": "^3.4.21" }, "devDependencies": { "typescript": "^5.4.5" } }
about Self-reference: Node.js and Typescript
Self-reference
But it's work fine in
.ts
file:This is my
tsconfig.json
:and this is my
package.json
:about
Self-reference
: Node.js and Typescript