Skip to content

Commit

Permalink
[fix] Fixed bug that would try to import deprecated-styles.min.css as…
Browse files Browse the repository at this point in the history
… deprecated-styles.min.css.js
  • Loading branch information
LuisdelaVega authored and yuzhva committed Jan 29, 2018
1 parent 8df6be6 commit e9d9ff1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/react-leaflet-markercluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
require('leaflet.markercluster');

// TEMP: remove from v1.2.0 because of deprecated wrapperOptions prop
require('./deprecated-styles.css');
require('./deprecated-styles.css!');

// TEMP: remove deprecation warning at v1.2.0
function havingDeprecatedProps(markers) {
Expand Down
6 changes: 5 additions & 1 deletion dist/react-leaflet-markercluster.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/react-leaflet-markercluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import deepEqual from 'deep-equal';
require('leaflet.markercluster');

// TEMP: remove from v1.2.0 because of deprecated wrapperOptions prop
require('./deprecated-styles.scss');
require('./deprecated-styles.scss!');

// TEMP: remove deprecation warning at v1.2.0
function havingDeprecatedProps(markers) {
Expand Down

0 comments on commit e9d9ff1

Please sign in to comment.