Open

Description
The import.meta
is used to get import.meta.url
in JS generated by wasm-pack.
Could it to be fixed if gas-webpack-plugin
allow to use esprima.parseModule
with some config option?
I opened an issue in esprima as it didn't work in the online demo. But looking more I found that doc, then maybe the error is in this plugin.
Activity
fossamagna commentedon Feb 3, 2022
@jhernandez-at-wiris
gas-webpack-plugin
use gas-entry-generator to parse javascript source codes. And,gas-entry-generator
use esprima.parseModule. Which option in parseModule do you think will solve this problem? And, Could you provide code or a repository that reproduces the issue?fossamagna commentedon Jun 20, 2022
@jhernandez-at-wiris I published v2.3.0.
This version contains update to gas-entry-generator@2.2.0. So parse is switched to esprima-next from esprima and add support
import.meta
from this. Would you be willing to try it?