Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: work with webpack-manifest-plugin #66

Open
taylorjacklespriggs opened this issue Aug 17, 2020 · 0 comments
Open

feat: work with webpack-manifest-plugin #66

taylorjacklespriggs opened this issue Aug 17, 2020 · 0 comments

Comments

@taylorjacklespriggs
Copy link

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.

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

No branches or pull requests

1 participant