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?
Would it be possible to add custom import / export statements?
I work with a custom JS engine that has this import schema
part.js
main.js
In the above script the complete content of the script
part.js
is copied into the scriptmain.js
. Would this extension be extendable to serve this functionality?