mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 18:27:40 +08:00
b8c38a9fe5
* chore: enhance eslint rules * chore: enhance eslint rules
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)
|
|
},
|
|
}
|