Currently attempting to minify and transpile Bootstrap 4 using CodeKit3.
However, encountering the following error:
Babel: Failed to Transpile:
SyntaxError: /bootstrap/carousel.js: Unexpected token (219:8)
217 | _getConfig(config) {
218 | config = {
> 219 | ...Default,
| ^
220 | ...config
221 | }
222 | Util.typeCheckConfig(NAME, config, DefaultType)
Any thoughts on what might be causing this issue?
Sharing the current settings:
- Syntax checked with: none
- Transpiled using: Babel
- Output minified
- Source map generated
Additionally, in Babel
Enabled presets:
- ES2017, ES2016, ES2015