[BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly,
`babel.transform(code, { filename: 'file.ts', presets: [/* your preset */] });`
See https://babeljs.io/docs/en/options#filename for more information.
This error occurs when trying to extract a component to a file. A filename was specified and the extension works as expected with React in general.
This error occurs when trying to extract a component to a file. A filename was specified and the extension works as expected with React in general.