Skip to content

feat: work with webpack-manifest-plugin #66

@taylorjacklespriggs

Description

@taylorjacklespriggs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions