Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/havunen/vue2-swc-jest
Vue2 SWC jest compiler
https://github.com/havunen/vue2-swc-jest
Last synced: about 2 months ago
JSON representation
Vue2 SWC jest compiler
- Host: GitHub
- URL: https://github.com/havunen/vue2-swc-jest
- Owner: Havunen
- License: mit
- Created: 2023-09-26T12:30:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T19:52:43.000Z (about 1 year ago)
- Last Synced: 2024-10-11T07:45:08.537Z (2 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue2-swc-jest
SWC - Jest transformer for Vue Single File Components.
This plugin is designed to be used with `@swc/jest`
This plugin exists to replace babel from jest - vue compilation process using SWC.
Jest configuration:
```
transform: {
'\\.ts$': '@swc/jest',
'\\.vue$': 'vue2-swc-jest',
},
globals: {
'vue2-swc-jest': {
templateCompiler: {
prettify: false,
},
},
},
```