You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case extensions was in ES syntax (.mjs), and Node JS somehow couldn't import them from commonjs code, seems like i need to add some preprocessing to convert them to cjs, to make extension work
Expected behavior
After creating a custom component, MJML extension should register it and not show an error in templates.
Actual behavior
MJML is not picking up the custom component, and as a result shows errors in the template:
![image](https://user-images.githubusercontent.com/6605287/183852136-92a99766-48be-43f8-8417-f49ff3064fce.png)
Not sure if this is relevant, but the extension seems to hang with this popup:
![image](https://user-images.githubusercontent.com/6605287/183857608-b63d297c-0941-4a14-b8e3-e5293999b4ac.png)
Steps to reproduce the problem
See repo here.
npm i
npm run build
snippets/index.html
Specifications
Version: 1.70.0
Commit: da76f93349a72022ca4670c1b84860304616aaa2
Date: 2022-08-04T04:39:20.716Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
The text was updated successfully, but these errors were encountered: