Running in a fully self contained file #1406
Unanswered
charaf-rezrazi-deel
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Take a look at this repo, specifically src/index.ts. It uses esbuild but you can achieve the same result without using it. You really just need to:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hey friends
I have a question on how something like this can be achieved:
The idea is for me to completely sever the requirement of an external file (package.json) for oclif to find it's configuration
It would be a perfect scenario if I'm able to instanciate the root plugin programatically
However my first approach seems to be hacky, I started going down the rabbit hole by creating a fake root plugin too:
Beta Was this translation helpful? Give feedback.
All reactions