systemjs-builder
Advanced tools
Comparing version 0.15.6 to 0.15.7
@@ -121,3 +121,3 @@ var asp = require('bluebird').promisify; | ||
// remove ALL extension adding when globbing | ||
if (globSuffix) { | ||
if (globSuffix && !operation.canonicalized) { | ||
var extIndex = normalized.lastIndexOf('.'); | ||
@@ -124,0 +124,0 @@ if (extIndex != -1 && normalized[extIndex - 1] == '*') |
@@ -600,3 +600,3 @@ var Promise = require('bluebird'); | ||
if (!compileOpts.rollup) | ||
return compileTree(self.loader, tree, traceOpts, compileOpts, outputOpts, self.cache.compile); | ||
return compileTree(self.loader, inlinedTree, traceOpts, compileOpts, outputOpts, self.cache.compile); | ||
@@ -603,0 +603,0 @@ // attempt rollup optimizations of ESM entry points |
@@ -425,2 +425,18 @@ var getCanonicalName = require('./utils').getCanonicalName; | ||
// sanitize source map | ||
var sourceMap = load.metadata.sourceMap; | ||
if (sourceMap) { | ||
if (typeof sourceMap == 'string') | ||
sourceMap = load.metadata.sourceMap = JSON.parse(sourceMap); | ||
var originalName = load.name.split('!')[0]; | ||
// force set the filename of the original file | ||
sourceMap.file = originalName + '!transpiled'; | ||
// force set the sources list if only one source | ||
if (!sourceMap.sources || sourceMap.sources.length <= 1) | ||
sourceMap.sources = [originalName]; | ||
} | ||
// normalize dependencies to populate depMap | ||
@@ -663,3 +679,3 @@ return Promise.all(result.deps.map(function(dep) { | ||
if (normalizedDep.indexOf('#') != -1) | ||
if (normalizedDep.indexOf(/#[\:\?\{]/) != -1) | ||
throw new Error('Unable to inline conditional dependency ' + normalizedDep + '. Try including the ' + d + ' dependency of ' + load.name + ' in the build.'); | ||
@@ -666,0 +682,0 @@ |
{ | ||
"name": "systemjs-builder", | ||
"version": "0.15.6", | ||
"version": "0.15.7", | ||
"description": "SystemJS Build Tool", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"source-map": "^0.5.3", | ||
"systemjs": "^0.19.18", | ||
"systemjs": "^0.19.19", | ||
"traceur": "0.0.102", | ||
@@ -16,0 +16,0 @@ "uglify-js": "^2.6.1" |
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
271638
5847
Updatedsystemjs@^0.19.19