Giter Club home page Giter Club logo

Comments (8)

trentmwillis avatar trentmwillis commented on June 19, 2024 2

As far as I am aware, there is currently no way to configure this addon with Fastboot. The pieces are in place from this side, but from what I know there is no prescribed way to load additional files into the Fastboot sandbox which is what needs to be done for this to work.

from ember-asset-loader.

joebartels avatar joebartels commented on June 19, 2024 1

Could you share how exactly to configure this addon with fastboot and where the node-asset-manifest.js file should be located and from where it's consumed?
(apart from doing noManifest: true in the ember-cli-build.js file)

from ember-asset-loader.

kratiahuja avatar kratiahuja commented on June 19, 2024

+1 to loading everything upfront in sandbox for server side. It makes fastboot independent of app loading strategy and will probably not have a negative impact on server side rendering.

from ember-asset-loader.

trentmwillis avatar trentmwillis commented on June 19, 2024

I've updated my original comment with what I believe are the tasks needed to make this work properly.

from ember-asset-loader.

trentmwillis avatar trentmwillis commented on June 19, 2024

The pre-loading of assets poses an interesting problem, since this addon doesn't actually have any control over the build. Should this addon just assume that everything is pre-loaded? But leave the actual act of pre-loading up to the environment? I tend to think, yes.

from ember-asset-loader.

nathanhammond avatar nathanhammond commented on June 19, 2024

actual act of pre-loading up to the environment.

I tend to agree that the environment should invoke loadBundles/whatever that is prior to booting since that is very environment specific.

from ember-asset-loader.

trentmwillis avatar trentmwillis commented on June 19, 2024

the environment should invoke loadBundles/whatever that is prior to booting

Won't want to do loadBundles, the environment should just load the scripts into it's VM. Like what currently happens in FastBoot for vendor.js and app.js, see here for reference.

from ember-asset-loader.

trentmwillis avatar trentmwillis commented on June 19, 2024

A path forward has been established and necessary changes have been made here. Will release version 0.2.0 soon with those changes.

from ember-asset-loader.

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.