mirror of
https://github.com/maputnik/editor.git
synced 2026-01-04 04:20:01 +00:00
Directly wrap Mapbox GL
This commit is contained in:
@@ -58,6 +58,11 @@ module.exports = {
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'webworkify': 'webworkify-webpack',
|
||||
// TODO: otherwise I get a max call stack error in browser?
|
||||
'mapbox-gl': path.resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js')
|
||||
},
|
||||
extensions: ['', '.js', '.jsx']
|
||||
},
|
||||
module: {
|
||||
|
||||
Reference in New Issue
Block a user