Restrict load of Gutenberg assets to load only when actually needed

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: Must have
    • None
    • 2
    • Admin Panel
    • Sprint #108

      For example editorStyle.css & editorIndex.js build assets do load when we go on block usage page, causing client error & CSS unwanted result, see image attached

      Probably we should better create new assets files (like adminStyle.css, adminIndex.js) and load them when the hook action is equal to "admin.php" and prepare webpack config accordingly. 

        

            Assignee:
            Thanos Theodorakopoulos (Inactive)
            Reporter:
            Thanos Theodorakopoulos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: