bugfix
This commit is contained in:
parent
631413c4eb
commit
bb2a07cdd8
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
|
> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/create-react-library) [](https://travis-ci.org/transitive-bullshit/create-react-library) [](https://standardjs.com)
|
[](https://www.npmjs.com/package/create-react-library) [](https://travis-ci.org/transitive-bullshit/create-react-library) [](https://standardjs.com)
|
||||||
|
|
||||||
## Intro
|
## Intro
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ module.exports = async (info) => {
|
||||||
info.shortName = parts[parts.length - 1]
|
info.shortName = parts[parts.length - 1]
|
||||||
|
|
||||||
const dest = path.join(process.cwd(), info.shortName)
|
const dest = path.join(process.cwd(), info.shortName)
|
||||||
|
info.dest = dest
|
||||||
await mkdirp(dest)
|
await mkdirp(dest)
|
||||||
|
|
||||||
const source = path.join(__dirname, '../template')
|
const source = path.join(__dirname, '../template')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue