-
-
Notifications
You must be signed in to change notification settings - Fork 17
UMD CommonJS
EGOIST edited this page Apr 16, 2016
·
4 revisions
UMD
--umd moduleName
CommonJS
--cjs
In these two ways you always don't want to generate an html
file along them, use --disable-html
to do that.
We are using babel-plugin-add-module-exports
, so instead of writing this:
const foo = require('you-library').default
You simply write:
const foo = require('you-library')