Skip to content

jcubic/static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

static

Static Assets:

usage example:

Create a Bundle

For bunlding whole library you can use

npm install <module>
./build <module> [<name>]

Name is optional for when a module have dashes. It will create a file <module>.min.js in /js directory.

If bundling doesn't work you can create a file named index.js

import { configureSingle, fs } from '@zenfs/core';
import { IndexedDB } from '@zenfs/dom';

export { configureSingle, fs, IndexedDB };

and use esbuild to creae IIFE for the browser.

npx esbuild index.js --bundle --minify --format=iife --global-name=ZenFS --outfile=js/zenfs.min.js

About

static files used with cdn.jsdelivr.net

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors