We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fde08 commit 5cb990dCopy full SHA for 5cb990d
react-native-scripts/flyfile.js
@@ -11,9 +11,13 @@ export default async function (fly) {
11
}
12
13
export async function babel(fly, opts) {
14
- await fly.clear(paths.build).source(opts.src || paths.source).babel().target(paths.build);
+ await fly.source(opts.src || paths.source).babel().target(paths.build);
15
16
17
export async function clean(fly) {
18
await fly.clear(paths.build);
19
20
+
21
+export async function build(fly, opts) {
22
+ await fly.serial(['clean', 'babel'], opts);
23
+}
react-native-scripts/package.json
@@ -21,7 +21,7 @@
},
"scripts": {
"start": "fly",
24
- "build": "fly babel"
+ "build": "fly build"
25
26
"dependencies": {
27
"babel-runtime": "^6.9.2",
0 commit comments