Fixing webpack config build.

This commit is contained in:
Alejandro Lembke Barrientos 2022-06-03 14:31:24 +00:00
parent 57e8f9dd6e
commit 6d01450b2b
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@aleleba/create-react-component-library",
"version": "1.0.1",
"version": "1.0.2",
"description": "A starter kit for create a React component Library with storybook",
"bin": "./bin/cli.js",
"main": "dist/index.js",

View File

@ -28,6 +28,7 @@ export default {
path: path.resolve(__dirname, 'dist'),
library: libraryName,
libraryTarget: 'umd',
globalObject: 'this',
},
plugins: [
new CleanWebpackPlugin(),