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
The babel react preset allows to specify some options. I'd like to set the runtime to automatic instead of the default classic. Currently this is not possible with the enableReactPreset() method.
It would be nice to make this possible. Otherwise it is not possible to write react components in function style (see here) without adding an import React from 'react', although the React module is not used.
The text was updated successfully, but these errors were encountered:
The babel react preset allows to specify some options. I'd like to set the runtime to
automatic
instead of the defaultclassic
. Currently this is not possible with theenableReactPreset()
method.It would be nice to make this possible. Otherwise it is not possible to write react components in function style (see here) without adding an
import React from 'react'
, although theReact
module is not used.The text was updated successfully, but these errors were encountered: