-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
While running preact build, you will always get this deprecation warning:
DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.
If the current behavior is a bug, please provide the steps to reproduce.
$ preact create default my-foobar --no-install
$ cd my-foobar && yarn
$ yarn buildWhat is the expected behavior?
There shouldn't be any deprecation message. Eventually, this will move from a soft-warning to a hard error.
Pretty certain that this line is the culprit. π
developit and nicolaelitvac