Closed padlocal closed 2 years ago
I have removed all the .js
in the import code by using the below regexp:
(\s+from\s+".+)\.js";
to
$1";
Related commit:
After that the npm run demo
works.
I think we can upgrade the padlocal to the Wechaty v1.x API for now, and leave all the ESM works after the v1.x upgrade.
@huan I am working on branch
esm
with lastest code. Found that it was failed to start the embeded demo by runningnpm run demo
.Error stack
I think it's related to esm-supporting feature code, then how can I make it work temporary? I am working on bugs fixing that we talked on meetup.
Thanks!