Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Enable beta features #77

Closed
Alphapage opened this issue Apr 14, 2017 · 2 comments
Closed

Enable beta features #77

Alphapage opened this issue Apr 14, 2017 · 2 comments

Comments

@Alphapage
Copy link

Hello,

Is it possible to enable javascript es 6 features like modules ?
How do you handle the requested import path ?

Thank you in advance for your help.

@liminzhu
Copy link
Member

Sorry for the late response @Alphapage . You can enable experimental features by passing the JsRuntimeAttributeEnableExperimentalFeatures flag to JsCreateRuntime. Module is special as it needs a bit extra work on the host side, see chakra-core/ChakraCore#1254.

@Alphapage
Copy link
Author

No problem. Thank you for the info.
I just need to find an example on how to implement modules or to dig into some tests cases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants