Skip to content
joy-frameworkPublic

About

A very naive css/js bundler for joy

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bundler

Bundle js and css files with janet

Install

Add to your project.janet file

(defproject
  ... ; more stuff here
  :dependencies ["https://github.com/joy-framework/bundler"])

Use

Assuming you have some *.js and *.css files in a public/ folder, from your root project folder (the one with project.janet in it), run this:

(import bundler)

(bundler/bundle)

And it should output two bundled files (the same js/css with \n characters between).

You can also give an explicit path to your js/css files:

(bundler/bundle "assets")

About

A very naive css/js bundler for joy

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages