Skip to content

notabotai/get-static-root

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get-static-root

Calculate static root for JavaScript assets at runtime from HTML.

Usage

var getStaticRoot = require('get-static-root');
// get static root based on script src of bundle.js
var staticRoot = getStaticRoot('bundle.js');

About

Calculate static root for JavaScript assets at runtime from HTML

Resources

Stars

Watchers

Forks

Packages

No packages published