Skip to content

Commit 9194060

Browse files
authored
Merge pull request #87 from oklas/oklas-patch-swc-1
Update README.md
2 parents 84ef8a4 + 762efc1 commit 9194060

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ See also experimental [autoscan](https://github.com/oklas/react-app-alias/issues
197197

198198
### Using SWC etc
199199

200+
Alias plugin must be aplied **after** SWC plugin.
201+
200202
Plugin SWC must be declared in plugin section before alias plugn. This is because
201203
SWC plugn recreate SWC configuration instead of babel configuration. Both babel and
202204
swc configurations originally without alias configuration. So to configure alias,
203-
alias plugin must be aplied after SWC plugin:
205+
**alias plugin must be aplied after SWC plugin**:
204206

205207
```js
206208
const { CracoAliasPlugin } = require('react-app-alias');

0 commit comments

Comments
 (0)