Created by: someden
Add library and libraryTarget options for webpack config. And to build a UMD app you need: .env.production
LIBRARY = my-ui-components
LIBRARY_TARGET = umd
package.json
{
...
"main": "build/index.js",
...
}
Created by: someden
Add library and libraryTarget options for webpack config. And to build a UMD app you need: .env.production
LIBRARY = my-ui-components
LIBRARY_TARGET = umd
package.json
{
...
"main": "build/index.js",
...
}