-
-
Notifications
You must be signed in to change notification settings - Fork 372
Description
Do you want to request a feature or report a bug?
Feature
What is the current behaviour?
When running the CLI with Yarn 2, because of Plug'n'Play, we get an error:
ERROR No
node_modulesfound! Please runnpm installbefore continuing.
If the current behaviour is a bug, please provide the steps to reproduce.
Install Yarn 2 and run preact build
What is the expected behaviour?
It should be able to build with Yarn 2
If this is a feature request, what is motivation or use case for changing the behaviour?
Developers will want to use the new version of Yarn.
Please mention other relevant information.
As far as I can tell, the problem is that the loaders in the Webpack configs are not declared using require.resolve. Doing so would allow us to use the pnp-Webpack-plugin
Please paste the results of preact info here.
version 2.2.1