atomify-js
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -6,3 +6,4 @@ var browserify = require('browserify') | ||
module.exports = function (opts, cb) { | ||
var bundle = browserify([opts.entry]) | ||
if (!opts.shim) opts.shim = {} | ||
var bundle = shim(browserify([opts.entry]), opts.shim) | ||
bundle.transform(hbsfy) | ||
@@ -9,0 +10,0 @@ bundle.transform(brfs) |
{ | ||
"name": "atomify-js", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Atomify your js - use js and handlebars templates from node modules on the front end.", | ||
@@ -23,3 +23,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"browserify": "~2.26.0" | ||
"browserify": "~2.26.0", | ||
"browserify-shim": "~2.0.8" | ||
}, | ||
@@ -26,0 +27,0 @@ "peerDependencies": { |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2128
10
54
5
+ Addedbrowserify-shim@~2.0.8
+ Addedbrowserify-shim@2.0.10(transitive)