silexlabs / grapesjs-symbols

Symbols plugin for GrapesJS: reuse elements in a website accross pages
GNU Affero General Public License v3.0
16 stars 7 forks source link

exports is not defined #10

Closed FilipZamec closed 11 months ago

FilipZamec commented 11 months ago

Hi, just tried your demo and I also included plugin in my project and in both instances it throws error on this line: Object.defineProperty(exports, "__esModule", { value: true }); and saying exports is not defined. And I can't see any symbols.

You can use your demo site. Tested on Chrome.

Filip

lexoyo commented 11 months ago

oh no, i broke everything in the latest release and the tests didn't break... i'm investigating now

lexoyo commented 11 months ago

fixed by https://github.com/silexlabs/grapesjs-symbols/commit/cb8b3cb33c5d709d9c9e97bcf8e5a8849e997eb1#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

lexoyo commented 11 months ago

thank you for reporting this

FilipZamec commented 11 months ago

Thank you for the fast fix 👍

lexoyo commented 11 months ago

I'm happy if somone else uses it and help me debug it

It is used in Silex too