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
cbb4123b
Commit
cbb4123b
authored
8 years ago
by
Keyan Zhang
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
added favicon (#70)
parent
b1ce4598
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/webpack.config.dev.js
+1
-0
config/webpack.config.dev.js
config/webpack.config.prod.js
+1
-0
config/webpack.config.prod.js
template/src/favicon.ico
+0
-0
template/src/favicon.ico
with
2 additions
and
0 deletions
+2
-0
config/webpack.config.dev.js
+
1
-
0
View file @
cbb4123b
...
@@ -91,6 +91,7 @@ module.exports = {
...
@@ -91,6 +91,7 @@ module.exports = {
new
HtmlWebpackPlugin
({
new
HtmlWebpackPlugin
({
inject
:
true
,
inject
:
true
,
template
:
indexHtmlPath
,
template
:
indexHtmlPath
,
favicon
:
path
.
join
(
srcPath
,
'
favicon.ico
'
),
}),
}),
new
webpack
.
DefinePlugin
({
'
process.env.NODE_ENV
'
:
'
"development"
'
}),
new
webpack
.
DefinePlugin
({
'
process.env.NODE_ENV
'
:
'
"development"
'
}),
// Note: only CSS is currently hot reloaded
// Note: only CSS is currently hot reloaded
...
...
This diff is collapsed.
Click to expand it.
config/webpack.config.prod.js
+
1
-
0
View file @
cbb4123b
...
@@ -92,6 +92,7 @@ module.exports = {
...
@@ -92,6 +92,7 @@ module.exports = {
new
HtmlWebpackPlugin
({
new
HtmlWebpackPlugin
({
inject
:
true
,
inject
:
true
,
template
:
indexHtmlPath
,
template
:
indexHtmlPath
,
favicon
:
path
.
join
(
srcPath
,
'
favicon.ico
'
),
minify
:
{
minify
:
{
removeComments
:
true
,
removeComments
:
true
,
collapseWhitespace
:
true
,
collapseWhitespace
:
true
,
...
...
This diff is collapsed.
Click to expand it.
template/src/favicon.ico
0 → 100644
+
0
-
0
View file @
cbb4123b
24.3 KB
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