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
<preclass="pygments highlight"><codedata-lang="bash">bsc.exe -bs-package-name name -bs-package-output commonjs:lib/js -bs-package-output amdjs:lib/amdjs -c x.ml</code></pre>
4264
4264
</div>
4265
4265
</div>
4266
4266
<divclass="paragraph">
4267
-
<p>It will generate <code>x.js</code> in <code>lib/js</code> as a commonjs module, <code>lib/goog</code> as a google module and <code>lib/amdjs</code> as an amdjs module at the same time.</p>
4267
+
<p>It will generate <code>x.js</code> in <code>lib/js</code> as a commonjs module, <code>lib/amdjs</code> as an amdjs module at the same time.</p>
4268
4268
</div>
4269
4269
<divclass="paragraph">
4270
4270
<p>You would then need a bundler for the different module systems:
Copy file name to clipboardexpand all lines: docs/docson/build-schema.json
+1-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@
6
6
"commonjs",
7
7
"amdjs",
8
8
"amdjs-global",
9
-
"goog",
10
9
"es6",
11
10
"es6-global"
12
11
],
@@ -373,7 +372,7 @@
373
372
},
374
373
"package-specs": {
375
374
"$ref": "#/definitions/package-specs",
376
-
"description": "BuckleScript can currently output to [Commonjs](https://en.wikipedia.org/wiki/CommonJS), [AMD](http://requirejs.org/docs/whyamd.html), [Google module](https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide) and [ES6 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
375
+
"description": "BuckleScript can currently output to [Commonjs](https://en.wikipedia.org/wiki/CommonJS), [AMD](http://requirejs.org/docs/whyamd.html), and [ES6 modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
0 commit comments