Closed aymonYU closed 6 years ago
More detailed trace:
ERROR in TypeError: callback is not a function
- plugin.js:66 compilation.plugin
[Webclient]/[script-ext-html-webpack-plugin]/lib/plugin.js:66:11
- new Promise
- Hook.js:35 AsyncSeriesWaterfallHook.lazyCompileHook [as _promise]
[Webclient]/[html-webpack-plugin]/[tapable]/lib/Hook.js:35:21
- index.js:645
[Webclient]/[html-webpack-plugin]/index.js:645:47
- index.js:182 Promise.resolve.then.then.then.then.then.then.then.result
[Webclient]/[html-webpack-plugin]/index.js:182:18
Looks like one needs to use promise variant now.
@numical maybe you need fixes like this? https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/23b1b38003953c2952879b5613ef7bafa9678c3c
@sherlock1982 can you make a PR?
same question here, @sherlock1982 nice work.
when my webpack update to version 4.0.1,it report 'TypeError: callback is not a function'