You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🆒 Your use case
Add a description of your use case, and how this feature would help you.
It is totally fine that we push using modern syntax by default. But mostly for browsers, it might be hard for making utilities that requires users to transpile for browser.
🆕 The solution you'd like
Support target option in siroc.config per-entry. (transpiling with esbuild)
target: {main: 'node14',browser: 'chrome80'}
(example above is not esbuild valid targets)
🔍 Alternatives you've considered
Using babel or a babel based tool like bili
Forcing users to transpile
ℹ️ Additional info
The text was updated successfully, but these errors were encountered:
🆒 Your use case
Add a description of your use case, and how this feature would help you.
It is totally fine that we push using modern syntax by default. But mostly for browsers, it might be hard for making utilities that requires users to transpile for browser.
🆕 The solution you'd like
Support
target
option insiroc.config
per-entry. (transpiling with esbuild)(example above is not esbuild valid targets)
🔍 Alternatives you've considered
ℹ️ Additional info
The text was updated successfully, but these errors were encountered: