Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

transform seem to be exported incorrectly #93

Closed
ShineKidd opened this issue Dec 29, 2021 · 1 comment
Closed

transform seem to be exported incorrectly #93

ShineKidd opened this issue Dec 29, 2021 · 1 comment
Assignees

Comments

@ShineKidd
Copy link

Node: v14.17.5

const { transform } = require('unplugin-vue2-script-setup')
console.log(transform) // print undefined

I configure my jest followed the documentation, not work

module.exports = {
  transform: {
    '.*\\.(vue)$': 'unplugin-vue2-script-setup/jest',
  },
}
@xiaoxiangmoe xiaoxiangmoe self-assigned this Dec 29, 2021
@xiaoxiangmoe
Copy link
Collaborator

fixed in fixed in #96

@antfu antfu closed this as completed Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants