Allow ol-mapbox-style to import from ol/style/Style etc.
This commit is contained in:
@@ -38,4 +38,10 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
// ol-mapbox-style imports ol/style/Style etc
|
||||
ol: path.join(__dirname, '..', '..', 'src', 'ol'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user