From bac76d68cd41ed80358f32aedbc9f28ad14f4549 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Fri, 3 Aug 2018 16:02:38 -0700 Subject: [PATCH] Add copy-files flag to babel build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a518011..57e2e97 100644 --- a/package.json +++ b/package.json @@ -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": [