esbuild-plugin-flow
esbuild-plugin-flow copied to clipboard
Esbuild plugin to strip types for Flow files
While attempting to bundle the `sale-client` package, and setting the regex to match all `.js` files, the plugin throws the following error: ``` /.../sale-client/src/plugins/FileManageService.js:3:27: ERROR: [plugin: flow] ENOENT: no such...
Hey there. Thanks for this plugin. Using a valid regex: `/(\.js(?!on)(x)?)|(\.flow(\..+)?)$/` Esbuild throws the following error: ``` Build Error: Error: [flow] "onLoad" filter is not a valid Go regular expression:...
Some .flow files are not annotated but needs transformation, like react-native. So it would be nice if we can add a `{ force: boolean }`!