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.
include
1 parent 3cead3c commit 30fa30bCopy full SHA for 30fa30b
src/add-ns/index.ts
@@ -257,7 +257,7 @@ const modifyWebTsconfig = (tree: Tree, context: SchematicContext) => {
257
258
const srcDir = projectSettings.sourceRoot;
259
260
- // files
+ // add list of entry "files"
261
const defaultFiles = [
262
`${srcDir}/main.ts`,
263
`${srcDir}/polyfills.ts`,
@@ -266,6 +266,10 @@ const modifyWebTsconfig = (tree: Tree, context: SchematicContext) => {
266
tsConfig.files = tsConfig.files || [];
267
tsConfig.files.push(...defaultFiles);
268
269
+ // remove "include" property
270
+ // because it overrides "files"
271
+ delete tsConfig.include;
272
+
273
// paths
274
const webPaths = {
275
'@src/*': [
0 commit comments