Skip to content

enable chunk splitting support #76

Description

@ElPrudi

Inside a webpack configuration file:

module.exports = {
    optimization: {
        runtimeChunk: true
    }
}

Results in the web service with the error:

Uncaught ReferenceError: require is not defined 
    at <anonymous>:2:409819
    at <anonymous>:2:409958
    at Object.injectJsCode (cvSandboxPack.html?locale=de-DE:193:84605)
    at f (cvSandboxPack.html?locale=de-DE:194:6100)
    at m.loadWithoutResourcePackage (cvSandboxPack.html?locale=de-DE:194:13412)
    at m.executeMessage (cvSandboxPack.html?locale=de-DE:194:15640)
    at m.onMessageReceived (cvSandboxPack.html?locale=de-DE:194:15343)
    at cvSandboxPack.html?locale=de-DE:194:24924
    at n.invokeHandler (cvSandboxPack.html?locale=de-DE:193:105656)
    at n.dispatchMessage (cvSandboxPack.html?locale=de-DE:193:105511)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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