Skip to content

Commit

Permalink
feat(build): prevent types removal when building a package
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Nov 5, 2020
1 parent e50cc92 commit f0c6ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ package-types-%: ##@1 packages build a package types

package-build-%: package-types-% ##@1 packages build a package
@echo "${YELLOW}Building package ${WHITE}@nivo/${*}${RESET}"
@-rm -rf ./packages/${*}/dist
@-rm -rf ./packages/${*}/dist/nivo-${*}*
@export PACKAGE=${*}; NODE_ENV=production BABEL_ENV=production ./node_modules/.bin/rollup -c conf/rollup.config.js

packages-screenshots: ##@1 packages generate screenshots for packages readme (website dev server must be running)
Expand Down

0 comments on commit f0c6ca8

Please sign in to comment.