mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
bb939c6a58
* refactor(build): move to internal package * ci: fix * chore: fix * fix: docs * chore: add fast-glob to root package * chore: fix PR comments * build: add tsx * refactor: re-organize * refactor: improve log
11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
const transfomer = require('vue-jest')
|
|
const { transform } = require('unplugin-vue-define-options')
|
|
|
|
module.exports = {
|
|
getCacheKey: transfomer.getCacheKey,
|
|
process(src, filename, config) {
|
|
src = transform(src, filename)?.code || src
|
|
return transfomer.process(src, filename, config)
|
|
},
|
|
}
|