You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,9 @@ If you want TypeScript to watch for changes and recompile whenever you save a so
46
46
tsc -w --module commonjs index.ts
47
47
48
48
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.
50
50
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)
52
52
modules. You will also need to ensure that your project has access to the `typescript-dci/dci` module. To do this, copy the
53
53
file `typescript-dci/dci/dci-amd.js` to your project as `typescript-dci/dci.js` (relative to
54
54
the root directory of your project). In the future this process will be simplified.
0 commit comments