dojo / cli-build-app

Command for building Dojo applications
Other
9 stars 32 forks source link

Throw errors when load a single-bundle app in browser #338

Closed xiaohulu closed 4 years ago

xiaohulu commented 4 years ago

Bug

Package Version: 6.0.8

Code

  1. run dojo build --mode dist --single-bundle
  2. cd output/dist and run serve
  3. access http://localhost:5000 in browser

Expected behavior:

Load and show index.html correctly.

Actual behavior:

Throw errors

Uncaught ReferenceError: __DOJO_SCOPE is not defined
    at Object.<anonymous> (common.js:4)
    at n (bootstrap:19)
    at Object.<anonymous> (sync.js:2)
    at n (bootstrap:19)
    at Object.<anonymous> (App.m.css:2)
    at n (bootstrap:19)
    at bootstrap:83
    at bootstrap:83
    at universalModuleDefinition:9
    at universalModuleDefinition:1
xiaohulu commented 4 years ago

@matt-gadd Thanks

agubler commented 4 years ago

Hey @xiaohulu this has been fixed in the 6.0.9 release

xiaohulu commented 4 years ago

Ok, Thanks!