@usemotif/compiler-swc
v1.3.0
Published
Deprecated alias for @usemotif/compiler-web — this plugin is Babel-via-unplugin, never SWC. Import from @usemotif/compiler-web instead.
Readme
@usemotif/compiler-swc
Deprecated — renamed to
@usemotif/compiler-web.
This package was always a Babel-based unplugin,
not an SWC plugin — the -swc name was a misnomer. It now ships as
@usemotif/compiler-web (the web-bundler counterpart to
@usemotif/compiler-metro).
This package remains as a thin alias that re-exports @usemotif/compiler-web
unchanged, so existing imports keep working. It will be removed in a future
major.
Migrate
yarn remove @usemotif/compiler-swc
yarn add -D @usemotif/compiler-web- import motifExtract from '@usemotif/compiler-swc';
+ import motifExtract from '@usemotif/compiler-web';The API is identical. See @usemotif/compiler-web for usage.
