1.1.0 • Published 4 years ago
umd-pack v1.1.0
umd-pack
a tool for creating library(forked from create-react-app)
The document of create-react-app may still useful
npm install umd-pack
package.json
umd-pack need you to config library
in your package.json
for webpack output
{
"library": "MyLibrary"
}
publicPath
if you want to config publicPath(when you deploy static files to CDN), config package.json
like below:
{
"homepage": "path/to/directory"
}