Skip to content

with webpack bundle optimization, Composer.compile fails #67

@starpit

Description

@starpit

the terser webpack bundle optimizer by default renames javascript classes. as a result, composer.compile fails with

Invalid argument "task" in "task" combinator
Argument value: m {
  '.combinator': [Function: .combinator],
  type: 'action',
  name: '/_/authenticate',
  path: '.test'
}

for now, a workaround is to set keep_classnames: true in the terserOptions passed to the terser webpack plugin constructor.

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