File tree 2 files changed +5
-1
lines changed
playground/environment-react-ssr
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ export default defineConfig((env) => ({
47
47
input : {
48
48
index : '/src/entry-server' ,
49
49
} ,
50
+ output : {
51
+ // NOTE: needed for now: https://github.com/rolldown/rolldown/issues/2685
52
+ banner :
53
+ "import { createRequire as ___createRequire } from 'module'; const require = ___createRequire(import.meta.url);" ,
54
+ } ,
50
55
} ,
51
56
} ,
52
57
} ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export default defineConfig({
17
17
'./playground/legacy/**/*.spec.[tj]s' , // system format
18
18
...( isBuild
19
19
? [
20
- './playground/environment-react-ssr/**/*.spec.[tj]s' , // needs investigation
21
20
'./playground/external/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2041
22
21
'./playground/object-hooks/**/*.spec.[tj]s' , // object hook sequential
23
22
'./playground/optimize-deps/**/*.spec.[tj]s' , // https://github.com/rolldown/rolldown/issues/2031
You can’t perform that action at this time.
0 commit comments