This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
babelify
should not be removed when .typescript
is set
#61
Labels
Is this a Feature or Bug?
This is a bug
Current behavior:
When
.typescript
option is set,babelify
is removed from the transforms.As a result, if the typescript file is dependent on a JS module using ES6, the transpilation will fail.
Desired behavior:
babelify
should not be removed when using typescript as it may still be useful, as described here: #19the line
browserifyOptions.transform = transform.filter((stage) => !Array.isArray(stage) || !stage[0].includes('babelify'))
should be changed accordinglyHow to reproduce:
Additional Info (images, stack traces, etc)
The text was updated successfully, but these errors were encountered: