Closed KaneFreeman closed 2 years ago
Hey @KaneFreeman this was back ported so it would be broken in version 7 if this is cause of the error?
@agubler I would assume so, but that change to 7 was never pushed to npm.
@KaneFreeman are you sure? it looks like it was released on version 7.0.7 which is the dependency of the of the most recent release of cli-build-app (7.0.5)
@agubler yes, you are correct. it looks like dojo site is still on cli-build-app
version 7.0.4
. Thus why it can still build in its current state.
Indeed, updating to 7.0.5
causes the same error to appear.
Bug
SyntaxError: Unexpected token (8:17)
occurs inbootstrap-plugin/async.js
when building Dojo Site against version 8. Acorn version 6.2 added support for dynamic imports which is conflicting syntax wise with the dynamic import plugin used instatic-build-loader/loader.js
.Acorn was updated from
6.1.1
to7.4.1
in #319, dynamic imports were introduced in6.2.0
.Code
https://github.com/dojo/site/tree/feature/version-8