File tree Expand file tree Collapse file tree 4 files changed +39
-38
lines changed
packages/next/src/build/swc Expand file tree Collapse file tree 4 files changed +39
-38
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11'use server'
22
3- import {
4- AArrowDown ,
5- AArrowUp ,
6- ALargeSmall ,
7- Accessibility ,
8- Activity ,
9- AirVent ,
10- Airplay ,
11- AlarmClockCheck ,
12- AlarmClockMinus ,
13- AlarmClockOff ,
14- AlarmClockPlus ,
15- AlarmClock ,
16- } from 'lucide-react'
3+ // import {
4+ // AArrowDown,
5+ // AArrowUp,
6+ // ALargeSmall,
7+ // Accessibility,
8+ // Activity,
9+ // AirVent,
10+ // Airplay,
11+ // AlarmClockCheck,
12+ // AlarmClockMinus,
13+ // AlarmClockOff,
14+ // AlarmClockPlus,
15+ // AlarmClock,
16+ // } from 'lucide-react'
1717
1818export async function foo ( ) {
1919 console . log (
20- 'hello!' ,
21- AArrowDown ,
22- AArrowUp ,
23- ALargeSmall ,
24- Accessibility ,
25- Activity ,
26- AirVent ,
27- Airplay ,
28- AlarmClockCheck ,
29- AlarmClockMinus ,
30- AlarmClockOff ,
31- AlarmClockPlus ,
32- AlarmClock
20+ 'hello!'
21+ // AArrowDown,
22+ // AArrowUp,
23+ // ALargeSmall,
24+ // Accessibility,
25+ // Activity,
26+ // AirVent,
27+ // Airplay,
28+ // AlarmClockCheck,
29+ // AlarmClockMinus,
30+ // AlarmClockOff,
31+ // AlarmClockPlus,
32+ // AlarmClock
3333 )
3434}
Original file line number Diff line number Diff line change 11import Client from './client'
22
3+ import { foo } from './actions'
4+
35export default function Page ( ) {
4- return (
5- < Client
6- inline = { async ( ) => {
7- 'use server'
8- console . log ( 'inline' )
9- } }
10- />
11- )
6+ return < Client inline = { foo } />
127}
Original file line number Diff line number Diff line change @@ -111,6 +111,14 @@ export declare function codeFrameColumns(
111111 location : NapiCodeFrameLocation ,
112112 options ?: NapiCodeFrameOptions | undefined | null
113113) : string | null
114+ /**
115+ * Convert an array of dash-case feature name strings to a lightningcss
116+ * `Features` bitmask (u32). Called from the webpack lightningcss-loader to
117+ * avoid duplicating the name-to-bit mapping in JavaScript.
118+ */
119+ export declare function lightningcssFeatureNamesToMaskNapi (
120+ names : Array < string >
121+ ) : number
114122export declare function lockfileTryAcquireSync (
115123 path : string ,
116124 content ?: string | undefined | null
@@ -248,7 +256,7 @@ export interface NapiProjectOptions {
248256 isPersistentCachingEnabled : boolean
249257 /** The version of Next.js that is running. */
250258 nextVersion : RcStr
251- /** Whether server-side HMR is enabled (requires --experimental-server-fast-refresh). */
259+ /** Whether server-side HMR is enabled (--experimental-server-fast-refresh). */
252260 serverHmr ?: boolean
253261}
254262/** [NapiProjectOptions] with all fields optional. */
@@ -294,8 +302,6 @@ export interface NapiPartialProjectOptions {
294302 * debugging/profiling purposes.
295303 */
296304 noMangling ?: boolean
297- /** Whether server-side HMR is enabled (requires --experimental-server-fast-refresh). */
298- serverHmr ?: boolean
299305}
300306export interface NapiDefineEnv {
301307 client : Array < NapiOptionEnvVar >
You can’t perform that action at this time.
0 commit comments