Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RemovedInWagtail70Warning: The usage of WidgetWithScript hook is deprecated. Use external scripts instead. #183

Open
njourdane opened this issue Mar 29, 2024 · 1 comment

Comments

@njourdane
Copy link

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.

@muvalika
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants