Remove Webpack plugins from development dependencies to simplify the `package.json` file
Hi! 👋
Problem
This is not exactly a problem, but I would like to suggest a small change to the package.json file to simplify it.
Currently, there are three Webpack plugins as development dependencies: css-loader, source-map-loader, and style-loader. They are all @jupyterlab/builder dependencies, so they are installed together. Therefore, to simplify the package.json file a bit (and consequently the template), especially for new extension developers, I think it would be good to remove them.
Proposed Solution
Delete the css-loader, source-map-loader, and style-loader development dependencies from the following file: https://github.com/jupyterlab/extension-template/blob/eda2e0db3a8b0630e8802524dd3c95ac7db54526/template/package.json.jinja#L67
Please let me know your opinion and if I can help/open a PR.
Thanks!
@joaopalmeiro does yarn complain when installing the dependencies if those are removed? If not, feel free to open a PR.
If I recall correctly, these devDependencies were added in https://github.com/jupyterlab/extension-cookiecutter-ts/pull/293, mostly because of pnpm? There is some prior discussion about this here: https://github.com/jupyterlab/extension-cookiecutter-ts/pull/293#issuecomment-1708820405
Also thinking it would be great to remove them, especially to simplify the template a bit and not have extension authors wonder what these devDependencies are used for.