This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
react
Watch
0
Star
0
Fork
You've already forked react
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
06fff18d2a
react
/
fixtures
/
flight
/
server
/
package.json
5 lines
54 B
JSON
Raw
Normal View
History
Unescape
Escape
Support ESM module loaders in Flight fixture (#20229) This lets the Flight fixture run as "type": "module" or "commonjs". Experimental loaders can be used similar to require.extensions to do the transpilation and replacement of .client.js references.
2020-11-13 00:11:05 +08:00
{
Disallow *.server.js imports from any other files (#20309) This convention ensures that you can declare that you intend for a file to only be used on the server (even if it technically might resolve on the client).
2020-12-01 06:25:56 +08:00
"type"
:
"commonjs"
,
"main"
:
"./cli.server.js"
Support ESM module loaders in Flight fixture (#20229) This lets the Flight fixture run as "type": "module" or "commonjs". Experimental loaders can be used similar to require.extensions to do the transpilation and replacement of .client.js references.
2020-11-13 00:11:05 +08:00
}