2.1.1 • Published 11 months ago
@onlook/nextjs v2.1.1
Onlook nextjs preprocessor
Usage
- Install preprocessor library
npm i --save-dev @onlook/nextjs
- Update
next.config.mjs
ornext.config.js
import path from "path";
const nextConfig = {
reactStrictMode: true,
experimental: {
swcPlugins: [["@onlook/nextjs", { root: path.resolve(".") }]],
},
}
export default nextConfig
For more, see: https://nextjs.org/docs/pages/api-reference/next-config-js
Nextjs 13
Unfortunately, Next.js version v13.2.4 ~ v13.3.1 cannot execute SWC Wasm plugins, due to a bug of next-swc. See more here.
Please upgrade to next 13.4.3
or above.
npm i next@13.4.3
Backwards compatibility note
The Next plugins ecosystem is still experimental, so SWC ships backwards incompatible version.
We will keep updating the package to the latest version in hope of a stable release in the future.
2.1.1
11 months ago
1.2.0
1 year ago
2.0.3
1 year ago
2.0.2
1 year ago
2.0.5
1 year ago
2.0.4
1 year ago
2.0.6
12 months ago
2.1.0
12 months ago
2.0.1
1 year ago
2.0.0
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago