apache / apache/openwhisk-composer
with webpack bundle optimization, Composer.compile fails
Open
- Dominant language
- JavaScript
- Stars
- 68
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.