chore(build): Avoid publishing dart files to NPM repo
closes #3469 Closes #3964
This commit is contained in:
parent
28be0a59cf
commit
35328015b8
|
@ -49,6 +49,9 @@ function publishModule {
|
|||
cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR
|
||||
fi
|
||||
|
||||
# Remove all dart related files
|
||||
rm -f $PUBLISH_DIR/{,**/}{*.dart,*.dart.md}
|
||||
|
||||
npm publish $PUBLISH_DIR
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue