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 0ce2812 commit 07c8addCopy full SHA for 07c8add
Sources/GraphQLCompiler/JavaScript/auto_rollup.sh
@@ -3,7 +3,7 @@ set -e
3
4
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
5
output_file="$SCRIPT_DIR/../ApolloCodegenFrontendBundle.swift"
6
-cd "$SCRIPT_DIR" && npm run build
+cd "$SCRIPT_DIR" && npm install && npm run build
7
minJS=$(cat "$SCRIPT_DIR/dist/ApolloCodegenFrontend.bundle.js")
8
printf "%s%s%s" "let ApolloCodegenFrontendBundle: String = #\"" "$minJS" "\"#" > "$output_file"
9
exit 0
0 commit comments