From 5458856450806087845fa1f4c9c6f841019e90d4 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 17 Mar 2025 11:35:43 +0000 Subject: [PATCH] Update rolldown, re-enable sourcemaps --- package.json | 4 ++-- rolldown.config.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 400c839e9a..71b50f6f51 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "eslint": "^9.20.1", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-react": "^7.37.4", - "eslint-plugin-react-compiler": "^19.0.0-beta-bafa41b-20250307", + "eslint-plugin-react-compiler": "^19.0.0-beta-3229e95-20250315", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks-extra": "^1.26.2", "eslint-plugin-sonarjs": "^3.0.1", @@ -95,7 +95,7 @@ "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", "react-dom": "^19.0.0", - "rolldown": "^1.0.0-beta.4", + "rolldown": "^1.0.0-beta.6", "typescript": "~5.8.2", "vite": "^6.1.0", "vitest": "^3.0.6", diff --git a/rolldown.config.js b/rolldown.config.js index 3f9fb7cfa1..f35de1e7e5 100644 --- a/rolldown.config.js +++ b/rolldown.config.js @@ -10,9 +10,7 @@ export default defineConfig({ dir: 'lib', entryFileNames: 'bundle.js', cssEntryFileNames: 'styles.css', - // TODO: re-enable - // https://github.com/rolldown/rolldown/issues/3242#issuecomment-2721489935 - sourcemap: false + sourcemap: true }, platform: 'browser', external: (id) => !id.startsWith('.') && !isAbsolute(id),