mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
12 lines
358 B
JavaScript
12 lines
358 B
JavaScript
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
||
|
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)
|
||
|
},
|
||
|
}
|