Skip to content

Error 'URL is not defined' when webpack5 builds the server program #12418

@lzxb

Description

@lzxb

What problem does this feature solve?

The 'Vue server renderer' package should pass in a URL object when creating a sandbox

What does the proposed API look like?

createBundleRenderer(bundle, {
            ...renderOptions,
            runInNewContext: 'once',
            sandbox: {
                URL: URL
            }
        });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions