Skip to content

Commit

Permalink
Merge pull request #58 from FreeCodeCampBA/feature/map-improvements
Browse files Browse the repository at this point in the history
Improve map with Mapbox
  • Loading branch information
hdf1996 authored Jul 16, 2019
2 parents 77bedb7 + 3fbacc1 commit 627f312
Show file tree
Hide file tree
Showing 7 changed files with 3,153 additions and 1,804 deletions.
3 changes: 3 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ typings/

# dotenv environment variables file
.env
.env.production
.env.development

# gatsby files
.cache/
Expand All @@ -67,3 +69,4 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity
yarn.lock
21 changes: 14 additions & 7 deletions client/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/

// You can delete this file if you're not using it
exports.onCreateWebpackConfig = ({ stage, loaders, actions }) => {
if (stage === 'build-html') {
actions.setWebpackConfig({
module: {
rules: [
{
test: /isotope\-|fizzy\-ui\-utils|desandro\-|masonry|outlayer|get\-size|doc\-ready|eventie|eventemitter|react-mapbox-gl|react-mapbox-gl|react-map-gl|(mapbox-gl)\.js$/,
use: loaders.null(),
},
],
},
})
}
}
Loading

0 comments on commit 627f312

Please sign in to comment.