Skip to content

nujii/architect-browserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

architect-browseriy

browserify plugin for architect

Config Format

{
  "packagePath": "./node_modules/architect-browserify",
  "src": __dirname+"/assets",
  "dest": __dirname+"/target",
  // Compress the output using uglify-js
  "compress": true,
  // Forces recompilation for every request
  "force": true
}

Usage

Now we mount /target as a static path and we can access our javascripts at http://0.0.0.0:{port}/{jsFolder}/{file.js} and it will be compiled on the fly

TODO

  • Provide some tests

About

Browserify plugin for Architect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published