Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export render function #1292

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Node v4 e2e fix
  • Loading branch information
pugnascotia committed Mar 22, 2017
commit 9a881422263f69d4f3fa48613d2fdad12aa29b3d
5 changes: 5 additions & 0 deletions tasks/e2e-server-render.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,13 @@ create_react_app --scripts-version="$scripts_path" test-app
# ******************************************************************************

verify_bundle() {
local oldpwd="$PWD"
bundle_name=$(echo $PWD/build/static/js/main.*.js)

cd "$root_path"
node "$root_path/tasks/test-bundle.js" "$bundle_name"

cd "$oldpwd"
}

# Enter the app directory
Expand Down