Is there a way to modify module content after compilation in webpack5 plugin?

31 Views Asked by At

webpack5 plugin: i want to modify module content after compilation. modification of dependencies is not involved. my modifications need to be specified in the file and modified via the AST . how can i do ?

i have tried module._source._value = newModuleContent, but it failed

0

There are 0 best solutions below