Comments (2)
Hi @usercao,
please check these examples - https://github.com/lingui/js-lingui/tree/next/examples
from swc-plugin.
Hi @andrii-bodnar ,
May I ask if the writing in next.config.js
and vite.config.js
is consistent with the example code nextjs-swc?
swcPlugins: [
['@lingui/swc-plugin', {}],
]
plugins: ['@lingui/swc-plugin'],
Because as far as I know, their construction methods are not the same. Is adding a vite-project-react-swc
more user-friendly?
from swc-plugin.
Related Issues (20)
- 'Trans is not defined' when doing a build for production HOT 6
- swc-plugin inserts imports before `"use client"` HOT 2
- Jest tests fail on v0.2.1 HOT 3
- A build error with Next.js HOT 13
- Doesn't work in NextJS 13.2.4 HOT 20
- 4.0.0-next.2 Could not resolve dependency HOT 1
- Pluging won't work anymore with next 13.3.1 (tested with up to canary 17) HOT 1
- Issue with variable naming convention for Lingui strings HOT 13
- nextjs-swc is unusable
- SWC 4.0.1 plugin panics on latest @swc/core version 1.3.60 HOT 8
- Next 13.4.3 onwards issue with swcPlugins HOT 8
- Error on build: Filesystem cache is not enabled, cannot read plugin from phsyical path HOT 1
- Adding @lingui/swc-plugin to react while using @vitejs/plugin-react-swc crashes the application. HOT 5
- Capitalization issues HOT 2
- Nextjs 13.x not working with typewind plugin using SWC HOT 2
- defineMessage missing comments HOT 3
- Incompatible with next > 13.4.8 HOT 1
- next version 13.4.9 HOT 1
- Macro imports get stripped in rollup and never placed back HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swc-plugin.