mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
Fix website build
This commit is contained in:
parent
bc70cc6a66
commit
eebbfa57ad
@ -54,12 +54,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
resolve: {
|
||||
modules: [
|
||||
// Always resolve module to root dependencies first
|
||||
resolve('../node_modules'),
|
||||
resolve('./node_modules')
|
||||
],
|
||||
alias: {
|
||||
react: resolve('../node_modules/react'),
|
||||
'react-dom': resolve('../node_modules/react-dom'),
|
||||
'react-map-gl': resolve('../src'),
|
||||
'../utils/mapboxgl': resolve('../node_modules/mapbox-gl/dist/mapbox-gl-dev.js'),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user