Skip to content

WiDuMu/userbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

userbuild

2nd attempt to build a simple bundler for userscript development. It uses esbuild, and injects the metadata comments back into the built JavaScript. Write your .user.ts or .user.js files in the src directory, and it will create a useable script in the out directory.

This allows you to use typescript, npm packages, and newer syntax, and get a viable userscript out of it.

To install dependencies:

bun

bun install

npm

npm install

To run:

bun

bun run build

npm

npm run node-build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published