-
-
Notifications
You must be signed in to change notification settings - Fork 645
Description
Type: Bug
What is the current behavior?
Repro steps here: https://stackoverflow.com/questions/49172495/webpack-init-trying-to-use-unsupported-extract-text-webpack-plugin
dotnew new webyarn inityarn add --dev webpack webpack-cliwebpack initwebpack
Displays the following error message:
(node:19320) DeprecationWarning: Tapable.plugin is deprecated. Use new
API on '.hooks' instead
D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Chunk.js:460
throw new Error(
^Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by
instanceof Entrypoint instead
at Chunk.get (D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Chunk.js:460:9)
at D:\SRC\MISC\WebpackTest\node_modules\extract-text-webpack-plugin\dist\index.js:176:48
at Array.forEach ()
at D:\SRC\MISC\WebpackTest\node_modules\extract-text-webpack-plugin\dist\index.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\SRC\MISC\WebpackTest\node_modules\tapable\lib\HookCodeFactory.js:24:12),
:7:1)
at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\SRC\MISC\WebpackTest\node_modules\tapable\lib\Hook.js:35:21)
at Compilation.seal (D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Compilation.js:881:27)
at hooks.make.callAsync.err (D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Compiler.js:464:17)
at _err0 (eval at create (D:\SRC\MISC\WebpackTest\node_modules\tapable\lib\HookCodeFactory.js:24:12),
:11:1)
at _addModuleChain (D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Compilation.js:749:12)
at processModuleDependencies.err (D:\SRC\MISC\WebpackTest\node_modules\webpack\lib\Compilation.js:688:9)
at process._tickCallback (internal/process/next_tick.js:150:11)
What is the expected behavior?
A freshly initialised project configuration should not throw errors upon build.