apostrophe-browserify
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -22,3 +22,4 @@ var fs = require('fs'); | ||
var basedir = options.basedir || (__dirname + '/public/js/'); | ||
var outputFile = './public/js/' + (options.outputFile || '_site-compiled.js'); | ||
var outputFile = basedir + (options.outputFile || '_site-compiled.js'); | ||
// var outputFile = './public/js/' + (options.outputFile || '_site-compiled.js'); | ||
options.site.options.assets.scripts.concat(options.outputFile || '_site-compiled.js'); | ||
@@ -25,0 +26,0 @@ |
{ | ||
"name": "apostrophe-browserify", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "A convenience module for using browserify with frontend code in Apostrophe.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Apostrophe Browserify | ||
This module enables you to use to bundle your frontend code using browserify while still taking advantage of automatic minification and Apostrophe's asset pipeline. | ||
This [Apostrophe 2](http://apostrophenow.org/) module enables you to bundle your frontend code using [`browserify`](https://github.com/substack/node-browserify) while taking advantage of automatic minification and Apostrophe's asset pipeline. | ||
@@ -5,0 +5,0 @@ When using the `development` option `watchify` will run, recompiling your assets any time they are saved. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5673
86