-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need more docs #1
Comments
Hi @loia5tqd001: Thanks for opening an issue. First, let me give you a bit of context: Now that you are aware of that, I'll answer your questions: Yes, this project requires
If
Once Deno is installed, you can use its script installer tool to install this userscript bundler:
If you don't intend to modify the bundler itself (or the templates that it uses when generating a new userscript "project" directory), then you don't need to clone this repo. You can simply install it from GitHub like this:
If you want to modify either of those things, then you'll need to clone the repo first, make your changes, then install it from your local repo like this:
After installing the bundler script, you can just use it according to the info in the "use" section of the README:
Other info: It was designed for the specific userscript workflow I was using when I wrote it: VS Code and the Deno extension for VS Code. This is why the There are many things involved here: TypeScript, ES modules, module concatenation, userscript-specific globals, userscript metablock schema, and quite a bit more. Some of these things are rather niche topics, and this assumes you understand some details about the related ecosystems. I don't really have any intention of updating the project or documentation at the current time (but haven't excluded that as a future possibility). However, I hope this helps you get started bundling some scripts, and — while I can't provide provide support for using it — if you have a specific question about the bundler itself that you can't figure out from the source, then feel free to ask. |
I've tried
and
as found in the Install section but nothing happens.
Here is what I as a user wants:
my-script/main.ts
,my-script/abc.ts
,... and know the generated js filemy-script/main.bundle.user.js
to point to. I think it's understandable by looking at yourtestdata
folder. Now, how to get there? The exact steps (do I need to clone this repository? do I need to install anything in advance?deno
?). Thanks.The text was updated successfully, but these errors were encountered: