jupyterlab / extension-template

A `copier` template for JupyterLab extensions
Creative Commons Zero v1.0 Universal
52 stars 16 forks source link

Remove Webpack plugins from development dependencies to simplify the `package.json` file #78

Open joaopalmeiro opened 3 months ago

joaopalmeiro commented 3 months ago

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!