This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
b1aa594a80
rsnext
/
test
/
integration
/
serverless-trace
/
components
/
hello.js
2 lines
37 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Experimental: Serverless Trace target (#8246) * Experimental: Serverless Trace target The Serverless Trace target produces Serverless-handler wrapped entrypoints, but does not bundle all of `node_modules`. This behavior increases bundling performance to be more akin to `target: 'server'`. This mode is expected to be used with smart platforms (like [ZEIT Now](https://zeit.co/now) that can trace a program to its minimum dependencies. * Use more generic variables * Add asset relocator for production mode of serverless trace * Verify Firebase compatiblity * Revert "Add asset relocator for production mode of serverless trace" This reverts commit 8404f1dcf28b60edab41a56c94b38dcd3fddec20. * Add serverless trace tests * Add _isLikeServerless helper * Make constants * Fix export * Update packages/next-server/server/config.ts Co-Authored-By: JJ Kasper <jj@jjsweb.site> * Use a global helper for is like serverless * Update import for isTargetLikeServerless * Update packages/next/build/index.ts Co-Authored-By: JJ Kasper <jj@jjsweb.site>
2019-08-06 00:26:20 +02:00
export
default
(
)
=>
<
h1
>
Hello
!
<
/
h
1
>
Reference in a new issue
Copy permalink