Skip to content

Commit bc2e199

Browse files
authored
Update workspaces.md
Write a hint to copy assets into the src folder of the project otherwise the assets won't get copied
1 parent 74420ff commit bc2e199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/cli/workspaces.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ module.exports = function(options) {
290290
#### Assets
291291

292292
TypeScript compilation automatically distributes compiler output (`.js` and `.d.ts` files) to the specified output directory. It can also be convenient to distribute non-TypeScript files, such as `.graphql` files, `images`, `.html` files and other assets. This allows you to treat `nest build` (and any initial compilation step) as a lightweight **development build** step, where you may be editing non-TypeScript files and iteratively compiling and testing.
293+
The assets should be located in the src folder otherwise they will not be copied.
293294

294295
The value of the `assets` key should be an array of elements specifying the files to be distributed. The elements can be simple strings with `glob`-like file specs, for example:
295296

0 commit comments

Comments
 (0)