-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Declare Webpack loaders with require.resolve()
#15299
Conversation
Thanks for making a pull request to jupyterlab! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @tibdex
Regarding worker-loader
I'm fine with its removal. But I'ld like to be cautious and to do that in a separate PR that will target the next minor version (ETA December). Would you have time to open that PR?
For |
|
The failed CI jobs don't seem related to my changes. Is there anything left I can do to help merge this? |
The only thing missing is deciding a milestone (4.0.x or 4.1) I am not certain how much of a potential to break things these changes have. Do you think it is safe enough change to backport it to 4.0.x or should it or would it be better for extension authors to only get it in 4.1?
|
I'm pretty sure this won't cause any regressions and can thus be safely backported to 4.0 but I don't mind waiting for 4.1 to get it. |
@meeseeksdev please backport to 4.0.x |
…15307) Co-authored-by: Thibault Derousseaux <6574550+tibdex@users.noreply.github.com>
Fix #15298 by ensuring that loaders are resolved from
@jupyterlab/builder
instead of from the package being built.This will allow to get rid of
css-loader
andstyle-loader
in thedevDependencies
ofextension-cookiecutter-ts
.By the way,
worker-loader
seems unused. Can we remove it?