Skip to content

Instantly share code, notes, and snippets.

View martinjlowm's full-sized avatar
🌮
HACKERMAN

Martin Jesper Low Madsen martinjlowm

🌮
HACKERMAN
View GitHub Profile
2025-04-20T12:45:59.517089Z ERROR rspack_core::resolver: Resolve error: Cannot find module '@swc/helpers/_/_interop_require_default' for matched aliased key '@swc/helpers/_', specifier: "@swc/helpers/_/_interop_require_default", importer: Some(Identifier(u!("javascript/auto|builtin:react-refresh-loader!/Users/martinjlowm/projects/nest.git/cron-validation/.yarn/unplugged/next-virtual-469a0f29cb/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js??ruleSet[1].rules[7].oneOf[4].use[1]!/Users/martinjlowm/projects/nest.git/cron-validation/.yarn/unplugged/next-virtual-469a0f29cb/node_modules/next/dist/client/next-dev.js|pages-dir-browser"))), context: /Users/martinjlowm/projects/nest.git/cron-validation/.yarn/unplugged/next-virtual-469a0f29cb/node_modules/next/dist/client, dependency_type: cjs require, dependency_category: commonjs
at crates/rspack_core/src/resolver/mod.rs:325
in rspack_core::compiler::compilation::Compilation:make
in rspack_core::compiler::Compiler:compile
in rspack_co
@martinjlowm
martinjlowm / .diff
Created April 20, 2025 13:05
next-rspack patch
diff --git a/package.json b/package.json
index 16966ad0369ff9ced84c00ba88a3652f9e725138..4662c4082b6cd717c3f5b2d7e135a40a359fabb1 100644
--- a/package.json
+++ b/package.json
@@ -114,7 +114,9 @@
"babel-plugin-react-compiler": "*",
"react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
"react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",
- "sass": "^1.3.0"
+ "sass": "^1.3.0",