We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This works:
{ "targets": { "index": { "context": "browser", "distDir": "dist", "source": "src/index.mjs" } } }
This does not:
{ "source": "src/index.mjs", "browser": "dist/index.js" }
I'd expect the two to be the same.
The output file does not include any imported modules. At runtime, the bundle throws:
Uncaught ReferenceError: require is not defined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 bug report
🎛 Configuration (.babelrc, package.json, cli command)
This works:
This does not:
🤔 Expected Behavior
I'd expect the two to be the same.
😯 Current Behavior
The output file does not include any imported modules. At runtime, the bundle throws:
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
The text was updated successfully, but these errors were encountered: