0.6.0 • Published 22 days ago
swc-plugin-typed-redux-saga v0.6.0
SWC plugin for typed-redux-saga that works with Next.js
This plugin adds typed-redux-saga macro support for SWC.
Tested with Next.js version v14.2.2
Installation
Install the package:
# yarn
yarn add swc-plugin-typed-redux-saga
or
# npm
npm install swc-plugin-typed-redux-saga
And update next.config.js:
// next.config.js
module.exports = {
experimental: {
swcPlugins: [
[require.resolve("swc-plugin-typed-redux-saga"), {}]
],
}
}