liferay-npm-bundler-plugin-inject-imports-dependencies
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -16,2 +16,4 @@ 'use strict'; | ||
imports = (0, _imports.normalizeImportsConfig)(imports); | ||
pkgJson.dependencies = pkgJson.dependencies || {}; | ||
@@ -41,3 +43,5 @@ | ||
var _imports = require('liferay-npm-build-tools-common/lib/imports'); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "liferay-npm-bundler-plugin-inject-imports-dependencies", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A liferay-npm-bundler plugin to force injection of declared imports as dependencies.", | ||
@@ -15,4 +15,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"liferay-npm-build-tools-common": "2.0.0" | ||
"liferay-npm-build-tools-common": "2.0.1" | ||
} | ||
} |
import * as ns from 'liferay-npm-build-tools-common/lib/namespace'; | ||
import {normalizeImportsConfig} from 'liferay-npm-build-tools-common/lib/imports'; | ||
@@ -10,4 +11,6 @@ /** | ||
) { | ||
const imports = config.imports || globalConfig.imports || {}; | ||
let imports = config.imports || globalConfig.imports || {}; | ||
imports = normalizeImportsConfig(imports); | ||
pkgJson.dependencies = pkgJson.dependencies || {}; | ||
@@ -14,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
16456
259
+ Addedliferay-npm-build-tools-common@2.0.1(transitive)
- Removedliferay-npm-build-tools-common@2.0.0(transitive)