Uploaded image for project: 'Realm Studio'
  1. Realm Studio
  2. RSTUDIO-87

Bundle node_modules into the renderer.bundles + 1 bundle per window-type

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      To speed up opening realms we could bundle the node_modules into the renderer bundle.

      Also - to enable faster load per window, we could split up and produce one bundle per type of window (using https://webpack.js.org/concepts/entry-points/#multi-page-application).

      I've started work here https://github.com/realm/realm-studio/tree/kh/renderer-bundled, but I get warnings from Webpack:

      [WEBPACK:R] WARNING in ./node_modules/realm/lib/index.js
      [WEBPACK:R] 23:11-26 Critical dependency: the request of a dependency is an expression
      [WEBPACK:R]
      [WEBPACK:R] WARNING in ./node_modules/realm/lib/user-methods.js
      [WEBPACK:R] 25:11-26 Critical dependency: the request of a dependency is an expression
      [WEBPACK:R]
      [WEBPACK:R] WARNING in ./node_modules/realm/lib/index.js
      [WEBPACK:R] 94:27-48 Critical dependency: the request of a dependency is an expression
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: