Allow ol-mapbox-style to import from ol/style/Style etc.

This commit is contained in:
Tim Schaub
2021-04-28 10:40:49 -07:00
parent a0f16521eb
commit d72368667d

View File

@@ -38,4 +38,10 @@ module.exports = {
},
],
},
resolve: {
alias: {
// ol-mapbox-style imports ol/style/Style etc
ol: path.join(__dirname, '..', '..', 'src', 'ol'),
},
},
};