Skip to content

npm run production does not show any content in the editor #721

@gideonthomas

Description

@gideonthomas

STR:

  1. Run npm run production
  2. Open localhost:8000/dist/hosted.html in a tab.
  3. If you see content in the editor, open DevTools and clear ALL application data (Service Worker registration, IndexedDB, Cache, etc.)
  4. Refresh the page.

You should see something like this:
screen shot 2017-04-16 at 12 28 44 am
The editor itself is not really visible but the preview works fine. This is not an issue for src builds or if you load dist as long as it isn't gzipped. This is an issue only when we gzip the content using npm run production locally. Not an issue on staging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions