Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
f895b727
Unverified
Commit
f895b727
authored
Oct 16, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Oct 16, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix url-imports test on 15-5 (#84966)
Was fixed on canary in #84922 Very annoying test setup
parent
81f530db
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
6 deletions
+7
-6
page.tsx
test/e2e/app-dir/back-forward-cache/app/page.tsx
+1
-0
next.config.js
test/integration/url-imports/next.config.js
+1
-1
css.module.css
test/integration/url-imports/pages/css.module.css
+1
-1
image.js
test/integration/url-imports/pages/image.js
+1
-1
ssg.js
test/integration/url-imports/pages/ssg.js
+1
-1
ssr.js
test/integration/url-imports/pages/ssr.js
+1
-1
static.js
test/integration/url-imports/pages/static.js
+1
-1
No files found.
test/e2e/app-dir/back-forward-cache/app/page.tsx
View file @
f895b727
// @ts-ignore -- the latest @types/react don't have this anymore
import
{
unstable_Activity
as
Activity
}
from
'react'
import
{
unstable_Activity
as
Activity
}
from
'react'
export
default
function
Page
()
{
export
default
function
Page
()
{
...
...
test/integration/url-imports/next.config.js
View file @
f895b727
...
@@ -2,7 +2,7 @@ module.exports = {
...
@@ -2,7 +2,7 @@ module.exports = {
experimental
:
{
experimental
:
{
urlImports
:
[
urlImports
:
[
'http://localhost:12345/'
,
'http://localhost:12345/'
,
'https://github.com/vercel/next.js/raw/
canary
/'
,
'https://github.com/vercel/next.js/raw/
next-15-5
/'
,
],
],
},
},
}
}
test/integration/url-imports/pages/css.module.css
View file @
f895b727
.main
{
.main
{
background
:
url('https://github.com/vercel/next.js/raw/
canary
/test/integration/url/public/vercel.png')
;
background
:
url('https://github.com/vercel/next.js/raw/
next-15-5
/test/integration/url/public/vercel.png')
;
background-size
:
contain
;
background-size
:
contain
;
width
:
300px
;
width
:
300px
;
height
:
300px
;
height
:
300px
;
...
...
test/integration/url-imports/pages/image.js
View file @
f895b727
import
Image
from
'next/image'
import
Image
from
'next/image'
import
logo
from
'https://github.com/vercel/next.js/raw/
canary
/test/integration/url/public/vercel.png?_=image'
import
logo
from
'https://github.com/vercel/next.js/raw/
next-15-5
/test/integration/url/public/vercel.png?_=image'
export
default
()
=>
(
export
default
()
=>
(
<
div
>
<
div
>
...
...
test/integration/url-imports/pages/ssg.js
View file @
f895b727
import
value
from
'http://localhost:12345/value1.js'
import
value
from
'http://localhost:12345/value1.js'
const
url
=
new
URL
(
const
url
=
new
URL
(
'https://github.com/vercel/next.js/raw/
canary
/test/integration/url/public/vercel.png?_=ssg'
,
'https://github.com/vercel/next.js/raw/
next-15-5
/test/integration/url/public/vercel.png?_=ssg'
,
import
.
meta
.
url
import
.
meta
.
url
)
)
...
...
test/integration/url-imports/pages/ssr.js
View file @
f895b727
import
value
from
'http://localhost:12345/value2.js'
import
value
from
'http://localhost:12345/value2.js'
const
url
=
new
URL
(
const
url
=
new
URL
(
'https://github.com/vercel/next.js/raw/
canary
/test/integration/url/public/vercel.png?_=ssr'
,
'https://github.com/vercel/next.js/raw/
next-15-5
/test/integration/url/public/vercel.png?_=ssr'
,
import
.
meta
.
url
import
.
meta
.
url
)
)
...
...
test/integration/url-imports/pages/static.js
View file @
f895b727
import
value
from
'http://localhost:12345/value3.js'
import
value
from
'http://localhost:12345/value3.js'
const
url
=
new
URL
(
const
url
=
new
URL
(
'https://github.com/vercel/next.js/raw/
canary
/test/integration/url/public/vercel.png?_=static'
,
'https://github.com/vercel/next.js/raw/
next-15-5
/test/integration/url/public/vercel.png?_=static'
,
import
.
meta
.
url
import
.
meta
.
url
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment