-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathtsconfig.publish.json
More file actions
31 lines (27 loc) · 842 Bytes
/
tsconfig.publish.json
File metadata and controls
31 lines (27 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
* This tsconfig is only used for publishing.
*
* For local dev experience, see the tsconfig.json
*/
{
"extends": "@ember/library-tsconfig",
"include": ["./src/**/*"],
"compilerOptions": {
"allowJs": true,
"declarationDir": "declarations",
/**
https://www.typescriptlang.org/tsconfig#rootDir
"Default: The longest common path of all non-declaration input files."
Because we want our declarations' structure to match our rollup output,
we need this "rootDir" to match the "srcDir" in the rollup.config.mjs.
This way, we can have simpler `package.json#exports` that matches
imports to files on disk
*/
"rootDir": "./src",
"baseUrl": ".",
"paths": {
"ember-drag-sort/*": ["./src/*"]
},
"types": ["ember-source/types", "@glint/ember-tsc/types"]
}
}