grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Usage from source failed

Open ateshuseyin opened this issue 9 years ago • 4 comments

I tried to use grapesjs from source by using require('grapesjs/src') to debug both my source and grapesjs. But could not success because of below issues;

  • There is some requires like require('plugin_manager'). These can be passed by webpack config but it is not a nice solution.
  • '<# VERSION #>' preprocessing should be done by git hooks, not compile time.
  • There is no guide about usage from source.

I think this issue is very imported to identify the bugs of grapesjs.

ateshuseyin avatar Oct 03 '17 08:10 ateshuseyin

At DevicesView.js:5 there is underscore usage w/o require: `template: _.template(``

ateshuseyin avatar Oct 03 '17 09:10 ateshuseyin

I just notice that you are using ProvidePlugin. That is a solution but these kind of configurative solutions are a limitation to grapesjs users which are using from source.

ateshuseyin avatar Oct 03 '17 10:10 ateshuseyin

correct @ateshuseyin I just never configured it to work properly from source, indeed have to move few configurations from webpack to npm. Appreciate your help 👍

artf avatar Oct 04 '17 12:10 artf

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Feb 09 '20 03:02 lock[bot]