Skip to content

Bundling throws 'Uncaught Error: Cannot find module...' #304

Open
@Chaz-Commscope

Description

@Chaz-Commscope

Using LigerShark.WebOptimizer v3.0.405 with EPiServer.CMS 12.28.0 and the following config:

"webOptimizer": {
"enableTagHelperBundling": true
}
In a browser we get the error:
Uncaught Error: Cannot find module

image

What can I add or where can I look to get an idea of what the problem is?

When it's set to False - it works and doesn't bundle the files and we see no errors - only happens when it's bundled.

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