Skip to content

Commit 203963d

Browse files
committed
updated readme
1 parent 81eee18 commit 203963d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ If you want TypeScript to watch for changes and recompile whenever you save a so
4646
tsc -w --module commonjs index.ts
4747

4848
The `--module` flag is required when using DCI because some features are achieved at runtime, so the `typescript-dci/dci` module
49-
needs to be available to every DCI program. For server-side or desktop programs, use `commonjs` and it should work out of the box.
49+
needs to be available to every DCI program. For server-side or desktop programs, use `--module commonjs` and it should work out of the box.
5050

51-
To generate client-side code that will run in the browser, use `amd` to compile your project into [AMD](http://requirejs.org/docs/whyamd.html)
51+
To generate client-side code that will run in the browser, use `--module amd` to compile your project into [AMD](http://requirejs.org/docs/whyamd.html)
5252
modules. You will also need to ensure that your project has access to the `typescript-dci/dci` module. To do this, copy the
5353
file `typescript-dci/dci/dci-amd.js` to your project as `typescript-dci/dci.js` (relative to
5454
the root directory of your project). In the future this process will be simplified.

0 commit comments

Comments
 (0)