Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

716 - Remove full OL import #4409

Merged
merged 1 commit into from
Nov 26, 2018

Conversation

adube
Copy link
Contributor

@adube adube commented Nov 24, 2018

Fixes 716, see: https://jira.camptocamp.com/browse/GSGMF-716

This patch removes all imports that ended up importing the whole OpenLayers library and replace them by individual method imports instead:

import * as olBase from 'ol/index.js';

Aliases are used for naming consistency.

@adube adube requested a review from sbrunner November 24, 2018 15:53
Copy link
Member

@sbrunner sbrunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks for the good Job :-)

@fredj
Copy link
Member

fredj commented Nov 26, 2018

merging to avoid conflicts with #4411

@fredj fredj merged commit 87f68d7 into camptocamp:master Nov 26, 2018
@adube adube deleted the v2_4-716-remove-full-ol-import branch November 26, 2018 12:58
@sbrunner sbrunner added this to the 2.4 milestone Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants