Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
65c2ff32
Commit
65c2ff32
authored
8 years ago
by
Dan Abramov
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Make GH Pages support more discoverable (#286)
parent
c7c319e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/build.js
+3
-0
scripts/build.js
with
3 additions
and
0 deletions
+3
-0
scripts/build.js
+
3
-
0
View file @
65c2ff32
...
@@ -88,6 +88,9 @@ webpack(config).run(function(err, stats) {
...
@@ -88,6 +88,9 @@ webpack(config).run(function(err, stats) {
console
.
log
(
'
pushstate-server build
'
);
console
.
log
(
'
pushstate-server build
'
);
console
.
log
(
'
'
+
openCommand
+
'
http://localhost:9000
'
);
console
.
log
(
'
'
+
openCommand
+
'
http://localhost:9000
'
);
console
.
log
();
console
.
log
();
console
.
log
(
chalk
.
dim
(
'
The project was built assuming it is hosted at the root.
'
));
console
.
log
(
chalk
.
dim
(
'
Set the "homepage" field in package.json to override this.
'
));
console
.
log
(
chalk
.
dim
(
'
For example, "homepage": "http://user.github.io/project".
'
));
}
}
console
.
log
();
console
.
log
();
});
});
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets