Skip to content

Commit

Permalink
Fixing issues with mapbox-gl
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Nov 10, 2016
1 parent e64e1b2 commit 902f954
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion superset/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ const config = {
'.js',
'.jsx',
],
alias: { webworkify: 'webworkify-webpack' },
alias: {
webworkify: 'webworkify-webpack',
'mapbox-gl/js/geo/transform': path.join(__dirname, "/node_modules/mapbox-gl/js/geo/transform"),
'mapbox-gl': path.join(__dirname, "/node_modules/mapbox-gl/dist/mapbox-gl.js"),
},

},
module: {
noParse: /mapbox-gl\/dist/,
loaders: [
{
test: /\.jsx?$/,
Expand Down

0 comments on commit 902f954

Please sign in to comment.