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
074dd633
Commit
074dd633
authored
8 years ago
by
Dan Abramov
Committed by
Christopher Chedeau
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Wordsmith
parent
4d11e6a6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/build.js
+8
-1
scripts/build.js
with
8 additions
and
1 deletion
+8
-1
scripts/build.js
+
8
-
1
View file @
074dd633
...
@@ -25,5 +25,12 @@ webpack(config).run(function(err, stats) {
...
@@ -25,5 +25,12 @@ webpack(config).run(function(err, stats) {
process
.
exit
(
1
);
process
.
exit
(
1
);
}
}
console
.
log
(
'
Build successfully generated in the build/ folder
'
);
console
.
log
(
'
Successfully generated a bundle in the build folder!
'
);
console
.
log
();
console
.
log
(
'
You can now serve it with any static server:
'
);
console
.
log
(
'
cd build
'
);
console
.
log
(
'
python -m SimpleHTTPServer 9000
'
);
console
.
log
(
'
open http://localhost:9000
'
);
console
.
log
();
console
.
log
(
'
It is optimized and ready to be deployed for production.
'
);
});
});
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