Skip to content

Commit

Permalink
Move font-awesome import to app.global.css
Browse files Browse the repository at this point in the history
so we don't need npm dependency in app/package.json
  • Loading branch information
jhen0409 committed Nov 1, 2016
1 parent 2c0dce9 commit b637006
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions app/app.global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "~font-awesome/css/font-awesome.css";

body {
position: relative;
color: white;
Expand Down
2 changes: 0 additions & 2 deletions app/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<head>
<meta charset="utf-8">
<title>Hello Electron React!</title>
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" />

<script>
(function() {
if (!process.env.HOT) {
Expand Down
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"license": "MIT",
"dependencies": {
"font-awesome": "^4.6.3",
"source-map-support": "^0.4.3"
}
}
1 change: 0 additions & 1 deletion webpack.config.electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default validate(merge(baseConfig, {
},

externals: [
'font-awesome',
// 'source-map-support'
]
}));

0 comments on commit b637006

Please sign in to comment.