Skip to content

Commit

Permalink
workaround for mapbox/mapbox-gl-js#4359
Browse files Browse the repository at this point in the history
  • Loading branch information
mankey-ru committed May 10, 2017
1 parent b362fdb commit afe17de
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 365 deletions.
27 changes: 2 additions & 25 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,6 @@ var conf_browser = {
name: 'fonts/[name].[hash:7].[ext]'
}
}
/*
Loader for SCSS|SASS
https://github.com/webpack-contrib/sass-loader
npm install sass-loader --save-dev
,{
test: /\.scss$/,
use: [{
loader: "style-loader" // creates style nodes from JS strings
}, {
loader: "css-loader" // translates CSS into CommonJS
}, {
loader: "sass-loader" // compiles Sass to CSS
}]
}*/

/*
Global vars
new webpack.DefinePlugin({
'process.env': config[env.prod ? 'build' : 'dev'].env,
'DEV': env.dev,
'PROD': env.prod,
'__THEME': '"' + env.platform.theme + '"'
}),
*/
]
},
resolve: {
Expand Down Expand Up @@ -111,7 +87,8 @@ if (process.env.NODE_ENV === 'production' || bAnalyze) { // http://vue-loader.vu
new webpack.optimize.UglifyJsPlugin({
sourceMap: true,
compress: {
warnings: false
warnings: false,
comparisons: false // workaround for https://github.com/mapbox/mapbox-gl-js/issues/4359
}
}),
new webpack.LoaderOptionsPlugin({
Expand Down
Binary file modified www/build-browser.js-compressed.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
392 changes: 52 additions & 340 deletions www/img/materialdesignicons-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit afe17de

Please sign in to comment.