Giter Club home page Giter Club logo

Comments (4)

kriskowal avatar kriskowal commented on September 25, 2024

Thanks. I’ll track here.

So far:

  • Montage’s Require subsystem can be used in Mop
  • Montage’s Require subsystem can now read into HTML and serializations, both embedded and linked, to discover their asynchronous dependencies. This greatly increases the set of preloadable files.
  • Mop discovers all HTML files in every package that use Montage scripts
  • Mop uses Require to find the transitive dependencies of the HTML file
  • The Montage bootstrapping has been modified to digest a CACHE global variable, to be injected by a script that precedes the Montage bootstrapper, which in turn is to be written by Mop

Needed:

  • Montage Require needs to provide more metadata about inter-package dependencies and redirects. I’m presently simplifying these cases and exposing "redirect", "externalId", and "externalRequire" properties on façade modules.
  • Mop needs to read all of the dependencies and produce a CACHE data-structure that includes either an "exports" or "factory" property for each module, based on its relative location and file format.

from montage.

francoisfrisch avatar francoisfrisch commented on September 25, 2024

This is being delayed to get unsafe-eval out of the CSP. When do you think you will be able to get this done now?

from montage.

kriskowal avatar kriskowal commented on September 25, 2024

I am guessing I will be done with setting up script-injection to get around the CSP by the 10th, then I’ll be back on this project. My best guess is the 17th for completion of this feature. These are aggressive estimates.

from montage.

kriskowal avatar kriskowal commented on September 25, 2024

I am presently restarting this project on top of the script injection improvements.

  • The CACHE global will no longer be necessary, but I will need to postpone bootstrapping to a future turn so that the define calls can do their magic and prevent extra HTTP requests.
  • The optimizer will no longer inline the script resource bundles in HTML. It will use a single external script.

I expect to finish this by this Friday, the 24th.

from montage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.