Add copy-files flag to babel build

This commit is contained in:
Brent Vatne 2018-08-03 16:02:38 -07:00
parent 9344a0a0b0
commit bac76d68cd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"lint": "eslint .", "lint": "eslint .",
"format": "eslint . --fix", "format": "eslint . --fix",
"precommit": "yarn lint && yarn test", "precommit": "yarn lint && yarn test",
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --out-dir dist --ignore '**/__tests__/**'", "build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**'",
"prepare": "yarn build" "prepare": "yarn build"
}, },
"keywords": [ "keywords": [