mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 21:26:58 -06:00
Fixing webpack config build.
This commit is contained in:
parent
57e8f9dd6e
commit
6d01450b2b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@aleleba/create-react-component-library",
|
"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",
|
"description": "A starter kit for create a React component Library with storybook",
|
||||||
"bin": "./bin/cli.js",
|
"bin": "./bin/cli.js",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -28,6 +28,7 @@ export default {
|
|||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
library: libraryName,
|
library: libraryName,
|
||||||
libraryTarget: 'umd',
|
libraryTarget: 'umd',
|
||||||
|
globalObject: 'this',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(),
|
new CleanWebpackPlugin(),
|
||||||
|
Loading…
Reference in New Issue
Block a user