Skip to content

joy-framework/bundler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published