Add copy-files flag to babel build
This commit is contained in:
parent
9344a0a0b0
commit
bac76d68cd
|
@ -11,7 +11,7 @@
|
|||
"lint": "eslint .",
|
||||
"format": "eslint . --fix",
|
||||
"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"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in New Issue