You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When loading the sub-application, the chunk.js file throws the error "Uncaught SyntaxError: Unexpected token 'export'".
Possible cause
In the sub-application's index.html, the chunk is loaded via: <link rel="modulepreload" href="chunk.js"> ,however, after loading through ngx-planet, it became <script type="text/javaScript" src="chunk. js"></script>, and did not add type="module" to support module loading, so an Unexpected token 'export' exception was thrown.
The text was updated successfully, but these errors were encountered:
Describe the bug
When loading the sub-application, the chunk.js file throws the error "Uncaught SyntaxError: Unexpected token 'export'".
Possible cause
In the sub-application's index.html, the chunk is loaded via:
<link rel="modulepreload" href="chunk.js">
,however, after loading through ngx-planet, it became<script type="text/javaScript" src="chunk. js"></script>
, and did not addtype="module"
to support module loading, so an Unexpected token 'export' exception was thrown.The text was updated successfully, but these errors were encountered: