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
11fe73e9
Commit
11fe73e9
authored
Oct 14, 2017
by
Sitian Liu
Committed by
Tim Neutkens
Oct 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make clear that server.js doesn't go through Webpack or Babel (#3090)
parent
2f6e43f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
readme.md
readme.md
+3
-0
No files found.
readme.md
View file @
11fe73e9
...
@@ -653,6 +653,9 @@ Typically you start your next server with `next start`. It's possible, however,
...
@@ -653,6 +653,9 @@ Typically you start your next server with `next start`. It's possible, however,
This example makes
`/a`
resolve to
`./pages/b`
, and
`/b`
resolve to
`./pages/a`
:
This example makes
`/a`
resolve to
`./pages/b`
, and
`/b`
resolve to
`./pages/a`
:
```
js
```
js
// This file doesn't not go through babel or webpack transformation.
// Make sure the syntax and sources this file requires are compatible with the current node version you are running
// See https://github.com/zeit/next.js/issues/1245 for discussions on Universal Webpack or universal Babel
const
{
createServer
}
=
require
(
'http'
)
const
{
createServer
}
=
require
(
'http'
)
const
{
parse
}
=
require
(
'url'
)
const
{
parse
}
=
require
(
'url'
)
const
next
=
require
(
'next'
)
const
next
=
require
(
'next'
)
...
...
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