{"id":16282468,"url":"https://github.com/jtpio/jupyterlab-rspack","last_synced_at":"2025-06-15T06:40:27.481Z","repository":{"id":225792436,"uuid":"766874165","full_name":"jtpio/jupyterlab-rspack","owner":"jtpio","description":"[WIP] Build JupyterLab extensions with Rspack (Rust powered Webpack)","archived":false,"fork":false,"pushed_at":"2024-03-20T07:29:28.000Z","size":57,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T22:35:20.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtpio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-04T09:40:50.000Z","updated_at":"2024-03-18T15:03:17.000Z","dependencies_parsed_at":"2024-10-10T19:10:47.602Z","dependency_job_id":null,"html_url":"https://github.com/jtpio/jupyterlab-rspack","commit_stats":null,"previous_names":["jtpio/jupyterlab-rspack"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-rspack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-rspack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-rspack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-rspack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpio","download_url":"https://codeload.github.com/jtpio/jupyterlab-rspack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244039202,"owners_count":20387835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T19:10:45.412Z","updated_at":"2025-03-20T02:30:30.106Z","avatar_url":"https://github.com/jtpio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JupyterLab Rspack\n\n[![npm](https://img.shields.io/npm/v/jupyterlab-rspack.svg)](https://www.npmjs.com/package/jupyterlab-rspack)\n\n\u003e [!WARNING]\n\u003e This is still a work in progress\n\nBuild JupyterLab extensions with Rspack (Rust powered Webpack).\n\n[jupyterlab-rspack-preview-3.webm](https://github.com/jtpio/jupyterlab-rspack/assets/591645/fae85289-7062-4729-9b19-2ea0a0cd40cd)\n\n\n## Install\n\nWith `npm`:\n\n```bash\nnpm i --save-dev jupyterlab-rspack\n```\n\nWith `pnpm`:\n\n```bash\npnpm i --save-dev jupyterlab-rspack\n```\n\nWith `yarn`:\n\n```bash\nyarn add --dev jupyterlab-rspack\n```\n\n## Usage\n\nIf you created your extension from the JupyterLab extension template (https://github.com/jupyterlab/extension-template), replace the `jupyter labextension build` command with `jupyterlab-rspack`.\n\nYou will need JupyterLab to be installed. We recommend creating a new virtual environment and installing JupyterLab with `pip` or `conda`. `jupyterlab-rspack` will look for JupyterLab to be installed in the environment, to properly populate the list of `shared` modules when building the extension.\n\n\u003e [!WARNING]\n\u003e Some features might still be missing, please check the list of open issues to know more\n\n## Context\n\n`rspack` is a Rust powered alternative to Webpack. It also supports Module Federation, which is used by the JupyterLab extension system.\n\nThis means it is possible to use `rspack` for building extensions, while JupyterLab still uses `webpack` internally.\n\nFor reference the switch to `rspack` is also being discussed in this issue: https://github.com/jupyterlab/jupyterlab/issues/15035\n\n## Future work\n\nThis package was created to more easily test building third-party extensions with Rspack, without having to change the existing JupyterLab build system.\n\nIn the coming weeks, we will be looking into integrating this in JupyterLab core directly, so building with Rspack becomes the default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-rspack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpio%2Fjupyterlab-rspack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-rspack/lists"}