Skip to content

Commit

Permalink
Merge pull request #90 from hackforla/backend_workflow
Browse files Browse the repository at this point in the history
Backend workflow
  • Loading branch information
sellnat77 authored Nov 19, 2019
2 parents e0b8654 + 2f92de6 commit 27d71c1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"axios": "^0.19.0",
"babel-jest": "^24.9.0",
"dataframe-js": "^1.4.3",
"dotenv-webpack": "^1.7.0",
"gh-pages": "^2.1.1",
"jest": "^24.9.0",
"leaflet": "^1.5.1",
Expand Down Expand Up @@ -33,6 +34,7 @@
"css-loader": "^3.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"file-loader": "^4.2.0",
"node-sass": "^4.12.0",
"sass-loader": "^8.0.0",
"style-loader": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Frequency/Frequency.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './Styles/Frequency.scss'
export default ({}) => {
return (
<div className='Frequency'>
<img className='FrequencyImg' src={process.env.PUBLIC_URL + '/frequency.svg'} alt='frequency'/>
<img className='FrequencyImg' src={'./frequency.svg'} alt='frequency'/>
</div>
)
}
2 changes: 1 addition & 1 deletion src/components/TimeToClose/TimeToClose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './Styles/TimeToClose.scss'
export default ({}) => {
return (
<div className='TimeToClose'>
<img className='TimeToCloseImg' src={process.env.PUBLIC_URL + '/timetoclose.svg'} alt="timetoclose"/>
<img className='TimeToCloseImg' src={'./timetoclose.svg'} alt="timetoclose"/>
</div>
)
}
10 changes: 10 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const Dotenv = require('dotenv-webpack');
module.exports = {
entry: './src/index.js',
module: {
Expand All @@ -16,8 +17,17 @@ module.exports = {

],
},
{
test: /\.(png|svg|jpg|gif)$/,
use: [
'file-loader',
],
},
]
},
plugins: [
new Dotenv()
],
resolve: {
extensions: ['*', '.js', '.jsx']
},
Expand Down

0 comments on commit 27d71c1

Please sign in to comment.