j40-cejst-2/client/gatsby-node.js
Vim 712e5bb4ed
Attempt to fix minimist CVE (#1470)
* Attempt to fix minimist CVE

- udpate npm to 8.5.5
- update node to 14.17.5
- update all minor versions to latest
- minimist to 1.2.6 (could still be CVE)
- set docker frontend to use cdn by default
- update all dependencies
- update survey button launch svg color
- update to zoom / territory buttons
- search icon changed
- update Feature type from maplibre-gl
- use default search icon

* Rollback maplibre to 1.15.2

* Revert maplibre to 1.14.0

* Rollback some changes

- rollback uswds
- search icon is back
- update snapshots
- rollback docker to be cdn by default
2022-03-23 10:51:54 -07:00

13 lines
321 B
JavaScript

path = require('path');
// https://github.com/maplibre/maplibre-gl-js/issues/83#issuecomment-877012839
exports.onCreateWebpackConfig = ({stage, loaders, actions}) => {
actions.setWebpackConfig({
devtool: 'eval-source-map',
resolve: {
alias: {
'mapbox-gl': 'maplibre-gl',
},
},
});
};