Skip to content

fix(tools): Polyfill copied correctly in all scenarios #1783

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

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

vladitasev
Copy link
Contributor

The webcomponents polyfill was not copied correctly to the dist/ directory for third-party packages, created with the init package script. The reason is that the path to node_modules/ used to be hard-coded relatively to the packages in the UI5 Web Components project. The path is not the same however for third-party packages. Therefore the it is no longer guessed, but derived properly with require.resolve instead.

closes: #1762

@vladitasev vladitasev merged commit a04f483 into master Jun 12, 2020
@vladitasev vladitasev deleted the fix-polyfill-path branch June 12, 2020 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants