GithubHelp home page GithubHelp logo

Comments (6)

elee1766 avatar elee1766 commented on August 29, 2024 1

btw, does someone use this lib in production? is this project still alive at all?

we use it in production ( we compile when we run, so not running into this problem)

that said, we are actively considering alternatives, since the project seems somewhat dead lol

from di-compiler.

nfjdu avatar nfjdu commented on August 29, 2024

Here is link to cloud example: sandbox

from di-compiler.

elee1766 avatar elee1766 commented on August 29, 2024

this happens to me too with tsx. it works fine with ts-node. node v21.1.0

node --import tsx --loader @wessberg/di-compiler/loader src/app.ts

from di-compiler.

nfjdu avatar nfjdu commented on August 29, 2024

Maybe i am too stupid to setup everything correctly.. but for me only last example works:
image

Here is working example:
https://codesandbox.io/p/devbox/wessberf-di-commonjs-test-mlpzx4?file=%2Fsrc%2Findex.ts%3A9%2C41

If someone has an example of how can i build it and run built version it would be nice to have a look at it, ty.

from di-compiler.

nfjdu avatar nfjdu commented on August 29, 2024

btw, does someone use this lib in production? is this project still alive at all?

from di-compiler.

nfjdu avatar nfjdu commented on August 29, 2024

This lib seems like a true gem, but lack of live, working sandbox examples for everything listed in readme makes it little bit hard to understand how to work with it. Its just insane how projects like this fade out when projects like microsoft TSyringe has 350k weekly downloads… Hope author will continue with this project)

from di-compiler.

Related Issues (18)

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.