The webpack-manifest-plugin has a generate option. I am currently using this option to dump the files required for each entrypoint to json.
I would like the dynamic-cdn-webpack-plugin to output to webpack in such a way that entrypoint.getFiles() includes the cdn urls that are required for the entrypoint.
I am doing SSR so it is not straightforward for me to use the html-webpack-plugin. I have considered that I could use this plugin to generate the script tags, but it seems like overkill.
Another workaround is to use the externals configuration in webpack, but this will make it difficult/impossible to only include the cdn urls that are needed by each chunk.
The webpack-manifest-plugin has a
generateoption. I am currently using this option to dump the files required for each entrypoint to json.I would like the dynamic-cdn-webpack-plugin to output to webpack in such a way that
entrypoint.getFiles()includes the cdn urls that are required for the entrypoint.I am doing SSR so it is not straightforward for me to use the html-webpack-plugin. I have considered that I could use this plugin to generate the script tags, but it seems like overkill.
Another workaround is to use the
externalsconfiguration in webpack, but this will make it difficult/impossible to only include the cdn urls that are needed by each chunk.