Skip to content

Commit 71603f0

Browse files
zewa666akosyakov
authored andcommitted
chore(amd): amd distribution
the default build is done for `commonjs` only. Since consumers might using other bundlers, in my case requirejs - which requires amd bundles - it would be great to create another compile target. typically a structure for multi-targets would be lib -> umd -> commonjs -> amd -> ... Since i didn't want to override your project structure, amd here is now compiled to `dist/amd`
1 parent 9629536 commit 71603f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"scripts": {
3333
"prepare": "npm run update-vscode && npm run clean && npm run compile",
34-
"compile": "tsc",
34+
"compile": "tsc && tsc --outDir dist/amd --module amd",
3535
"watch": "tsc -w",
3636
"clean": "rimraf lib",
3737
"update-vscode": "node ./node_modules/vscode/bin/install"

0 commit comments

Comments
 (0)