-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathtsconfig.publish.json
More file actions
30 lines (26 loc) · 854 Bytes
/
tsconfig.publish.json
File metadata and controls
30 lines (26 loc) · 854 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
/**
* This tsconfig is only used for publishing.
*
* For local dev experience, see the tsconfig.json
*/
{
"extends": "@ember/library-tsconfig",
"include": ["./src/**/*", "./unpublished-development-types/**/*"],
"glint": {
"environment": ["ember-loose", "ember-template-imports"]
},
"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",
"types": ["ember-source/types"]
}
}