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

Support esbuild-runner.config.cjs (or customizable esbuild-runner config file) #54

Open
ItalyPaleAle opened this issue Mar 23, 2022 · 0 comments

Comments

@ItalyPaleAle
Copy link

When the package is configured with "type": "module" all .js files are interpreted as ESM by default, including esbuild-runner.config.js. We would need to set the extension to .cjs instead.

However the file name is hardcoded and always uses .js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant