File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/nextjs/src/config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ export function constructWebpackConfigFunction(
70
70
addValueInjectionLoader ( newConfig , userNextConfig , userSentryOptions ) ;
71
71
72
72
newConfig . module . rules . push ( {
73
- test : / n o d e _ m o d u l e s \/ @ s e n t r y \/ n e x t j s / ,
73
+ test : / n o d e _ m o d u l e s [ / \\ ] @ s e n t r y [ / \\ ] n e x t j s / ,
74
74
use : [
75
75
{
76
- loader : path . resolve ( __dirname , 'loaders/ sdkMultiplexerLoader.js' ) ,
76
+ loader : path . resolve ( __dirname , 'loaders' , ' sdkMultiplexerLoader.js') ,
77
77
options : {
78
78
importTarget : buildContext . nextRuntime === 'edge' ? './edge' : './client' ,
79
79
} ,
@@ -133,7 +133,7 @@ export function constructWebpackConfigFunction(
133
133
} ,
134
134
use : [
135
135
{
136
- loader : path . resolve ( __dirname , 'loaders/ wrappingLoader.js' ) ,
136
+ loader : path . resolve ( __dirname , 'loaders' , ' wrappingLoader.js') ,
137
137
options : {
138
138
pagesDir : pagesDirPath ,
139
139
pageExtensionRegex,
You can’t perform that action at this time.
0 commit comments