Coder Social home page Coder Social logo

Comments (3)

thescientist13 avatar thescientist13 commented on June 3, 2024 1

Oh man... this could be exactly what we need for this project
https://www.npmjs.com/package/memory-fs

Even better if webpack adds support for it!
webpack/webpack#9227

Having everything in memory means scaffolding and configuration could all be passed around as data and included into the graph. This could really make working on #17 (and doing things like <meta> a lot a lot easier / cleaner! 🤞

Then we could really have the functional core / imperative shell (and we could unit test all our tasks!! 💪 )
https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell

cc: @hutchgrant

from greenwood.

thescientist13 avatar thescientist13 commented on June 3, 2024

I wonder, if having everything in memory, means things like Build Time Data Injection and External Data Sources could also be done this way? 🤔

Could save a lot of headache, and allow patching / updating of the graph to be done dynamically, amongst other things. Basically, we would be able to treat the state of Greenwood as an AST!? 🤩

Also, found this GitHub issue, which could be somewhat related, around having a virtual entry point?
webpack/webpack#6437

from greenwood.

thescientist13 avatar thescientist13 commented on June 3, 2024

I think in light of no bundle development with #355 and that webpack is out of the picture, I don't think there's a lot of need for this, though there are some ideas for trying to improve build performance, but that will need to happen a bit later, like after 1.0 and a new issue would get made for that instead.

from greenwood.

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.