Skip to content

Commit 3c17a44

Browse files
committed
Link to local packages after ejecting
1 parent 0ddd62d commit 3c17a44

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tasks/e2e.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,15 @@ npm start -- --smoke-test
142142
# Finally, let's check that everything still works after ejecting.
143143
# ******************************************************************************
144144

145-
# Eject
145+
# Eject...
146146
echo yes | npm run eject
147147

148+
# ...but still link to the local packages
149+
npm link $root_path/packages/babel-preset-react-app
150+
npm link $root_path/packages/eslint-config-react-app
151+
npm link $root_path/packages/react-dev-utils
152+
npm link $root_path/packages/react-scripts
153+
148154
# Test the build
149155
npm run build
150156
# Check for expected output

0 commit comments

Comments
 (0)