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

polymer-build does not copy all extraDependencies #409

Closed
jarrodek opened this issue May 23, 2018 · 2 comments
Closed

polymer-build does not copy all extraDependencies #409

jarrodek opened this issue May 23, 2018 · 2 comments
Labels

Comments

@jarrodek
Copy link
Contributor

jarrodek commented May 23, 2018

I am, trying to copy prism.js library from bower_componentrs to the build directory by setting up extraDependencies but it's never copied.

I have tried direct reference:

"extraDependencies": [
  ...
  "bower_components/prism/prism.js",
]

as well as all js files:

"extraDependencies": [
  ...
  "bower_components/prism/**.js",
]

It is never copied.

I can only guess that the JS compiler compiles the library to empty file because it uses global namespace instead of assigning the value to window object but I am not sure what is actually happening.

As a workaround I am copying the library manually after the build. But maybe there's something we can do about it?

@stale
Copy link

stale bot commented Mar 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Apr 27, 2022

This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!

@stale stale bot closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant