b50ecb7e53
### What? * support local static metadata files; opengraph-image, twitter-image, favicon, manifest, icon, apple-icon * support global static metadata files: robots.txt, sitemap.xml, favicon.ico * dynamic metadata is not yet implemented, but yields a warning It's implemented a bit different compared to the webpack version. All images will use the usual image machinery, so they are emitted to output directory, content hashed and the url is shared with the same import import in the app. ### Why? Unsupported, and we want to have that. ### How? see also https://github.com/vercel/turbo/pull/4692 fixes WEB-524 |
||
---|---|---|
.. | ||
crates | ||
native | ||
package.json | ||
README.md |
@next/swc
This package is responsible for swc compilation customized for next.js
Development
Run tests
cargo test
# Update snapshots and fixtures for tests
UPDATE=1 cargo test
Format code before submitting code
cargo fmt
Build the binary to integrate with next.js
pnpm build-native