Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A function to transform cms to esm #42

Open
hongyuan1306 opened this issue Nov 12, 2024 · 0 comments
Open

A function to transform cms to esm #42

hongyuan1306 opened this issue Nov 12, 2024 · 0 comments
Labels
question Further information is requested

Comments

@hongyuan1306
Copy link

Question

Hi,

I am trying to use the library in a Vite plugin. What I need is a simple function to convert a source file from cjs to ems, like

function transform_cjs_to_ems(source_in: string): string

Is this possible with cjstoems?

@hongyuan1306 hongyuan1306 added the question Further information is requested label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant