Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-systemjs-builder

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-systemjs-builder - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "grunt-systemjs-builder",
"version": "0.2.3",
"version": "0.2.4",
"description": "grunt task for building projects based on systemjs",

@@ -5,0 +5,0 @@ "repository": {

@@ -18,19 +18,7 @@ module.exports = function (grunt) {

builder.config({baseURL: options.baseURL});
if (options.configFile) {
var orgConfig = builder.config.bind(builder);
builder.config = function (cfg) { //need to do this to allow dynamic base url from grunt build to override the base url in the config file
if (cfg.baseURL) { //this is ugly but no choice because builder.loadConfig will override the baseURL provided in the config
delete cfg.baseURL;
}
orgConfig(cfg);
};
}
}
if (options.configFile) {
builder.loadConfig(options.configFile) //load external config file if one specified
var ignoreBaseUrlInConfFile = !!options.configFile;
builder.loadConfig(options.configFile, false, ignoreBaseUrlInConfFile) //load external config file if one specified - instr
.then(_build.bind(this, builder, options, done))

@@ -37,0 +25,0 @@ .catch(function (err) {

@@ -12,6 +12,6 @@ module.exports = function (grunt) {

minify: false,
sfx: true,
build:{
encodeNames: false
}
sfx: false
//build:{
// encodeNames: false
//}
},

@@ -18,0 +18,0 @@ files: [{

@@ -5,2 +5,3 @@ {

"description": "example of using the builder",
"private": true,
"main": "gruntfile.js",

@@ -7,0 +8,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc