Skip to content

Commit

Permalink
fix: Fix tsconfig typo and add additional steps for copying tsconfig …
Browse files Browse the repository at this point in the history
…to client repos
  • Loading branch information
marlonkeating committed Jan 28, 2023
1 parent c7be6d0 commit 774dcf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ An example module.config.js file looks like the following. You can copy this in
],
};


Steps
~~~~~

Expand Down Expand Up @@ -162,9 +161,9 @@ Local module configuration for TypeScript
-----------------------------------------

#. Copy tsconfig.json into the root of the module
#. Set "rootDir" to the root of the source code folders
#. Set "rootDir" to the root of the source code folders, and "outDir" to the distribution folder
#. Set "include" to wildcard patterns specifying the subdirectories/files under rootDir where source code can be found
#. Include any wildcards under rootDir that should be excluded using "exclude"
#. Include any wildcards under rootDir that should be excluded using "exclude". Make sure the "outDir" directory is excluded here, if it is under "include".

Development
-----------
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"outDir": "dist"
},
"include": ["example/**/*"],
"exclude": ["example/dist/*", "example/node_modules/*'"]
"exclude": ["example/dist/*", "example/node_modules/*"]
}

0 comments on commit 774dcf6

Please sign in to comment.