wagtail-autocomplete
wagtail-autocomplete copied to clipboard
RemovedInWagtail70Warning: The usage of `WidgetWithScript` hook is deprecated. Use external scripts instead.
I receive this warning when I run pytest on my project:
RemovedInWagtail70Warning: The usage of `WidgetWithScript` hook is deprecated. Use external scripts instead.
It comes from here in wagtail core and it is used here in wagtail-autocomplete.
compilation.chunks.forEach(chunk => { compilation.chunkGraph.getChunkModules(chunk).forEach(module => { const exportInfo = compilation.chunkGraph.moduleGraph.getExportInfo(module); //Stmt; });
Using the chunk graph method would fix error.