@lwc/module-resolver
Advanced tools
Comparing version 0.33.25 to 0.33.26
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
const BASE_CONFIG = require('../../../scripts/jest/base.config'); | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@lwc/module-resolver", | ||
"description": "Resolves paths for LWC components", | ||
"version": "0.33.25", | ||
"version": "0.33.26", | ||
"main": "./src/index.js", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "04dbd20c2c5fc74233e05cfb6b0fa3c7dccbe4d2" | ||
"gitHead": "a0aeb8fc483eda250255ac45da5f9358ffbdb517" | ||
} |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
const path = require('path'); | ||
@@ -2,0 +8,0 @@ const lwcResolver = require('../index.js'); |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
const path = require('path'); | ||
@@ -2,0 +8,0 @@ const lwcResolver = require('../index.js'); |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
/* eslint-env node */ | ||
@@ -31,3 +37,4 @@ const glob = require('glob'); | ||
const rootDir = path.dirname(file); | ||
const rootParts = rootDir.split(path.sep); | ||
// the glob library normalizes paths to forward slashes only - https://github.com/isaacs/node-glob#windows | ||
const rootParts = rootDir.split('/'); | ||
const registry = { | ||
@@ -34,0 +41,0 @@ entry: path.join(fullPathDir, file), |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
/** | ||
@@ -2,0 +8,0 @@ * Adapted from Jest, which is adapted from: |
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
9336
17
195