Open natew opened 6 years ago
Still seeing this issue. I built a demo that shows the problem that uses an up-to-date, barebones Create React App + react-app-rewired to include this plugin.
Is it certain this is an issue with prepack-webpack-plugin
or should it be reported on the facebook/prepack repo?
Would really like to use this.
Expected Behavior
Attempting to get this to prepack react elements: https://github.com/facebook/prepack/wiki/react-compiler
Actual Behavior
Components don't seem to be picked up, neither do
__evaluatePureFunction
tagged functions. I do see prepack working on other areas.Specifications
Here's some example code output when running it:
As you can see the function doesn't seem to be touched by prepack, but I'm attempting to run it with these options: