Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom import statement #40

Closed
fabiante opened this issue Oct 5, 2017 · 1 comment
Closed

Adding custom import statement #40

fabiante opened this issue Oct 5, 2017 · 1 comment

Comments

@fabiante
Copy link

fabiante commented Oct 5, 2017

Would it be possible to add custom import / export statements?

I work with a custom JS engine that has this import schema

part.js

var a = 42;

main.js

// #import "part.js"
console.log(a) // Logs 42 to the console

In the above script the complete content of the script part.js is copied into the script main.js. Would this extension be extendable to serve this functionality?

@pmneo
Copy link
Owner

pmneo commented Oct 18, 2017

I'm sorry, but this this not planned.

@pmneo pmneo closed this as completed Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants