Hello, SmartClient Team.
I am a new developer using SmartClient, so I don't know if that is a simple question but I couldn't find any answer in the documentation.
I created an application using Javascript UI components using script tags following the documentation, but now I want to check if it is possible to use ES6 modules to package my application and use in other projects.
I tried to import SmarClient modules using:
```
import "../../isomorphic/system/modules/ISC_Core.js";
```
but I receive this error:
```
Uncaught SyntaxError: Strict mode code may not include a with statement (at ISC_Core.js:259:12) ```
If I try to use type=module in the script tag I receive the same error. Is there a way of using SmartClient components without importing the core script as a global variable in the HTML file?
I am a new developer using SmartClient, so I don't know if that is a simple question but I couldn't find any answer in the documentation.
I created an application using Javascript UI components using script tags following the documentation, but now I want to check if it is possible to use ES6 modules to package my application and use in other projects.
I tried to import SmarClient modules using:
```
import "../../isomorphic/system/modules/ISC_Core.js";
```
but I receive this error:
```
Uncaught SyntaxError: Strict mode code may not include a with statement (at ISC_Core.js:259:12) ```
If I try to use type=module in the script tag I receive the same error. Is there a way of using SmartClient components without importing the core script as a global variable in the HTML file?
Comment