@lwc/module-resolver
Advanced tools
Comparing version 0.39.2-alpha5 to 0.39.2-alpha6
@@ -19,3 +19,3 @@ "use strict"; | ||
const PACKAGE_PATTERN = ['*/*/package.json', '*/package.json', 'package.json']; | ||
const MODULE_ENTRY_PATTERN = `**/*.[jt]s`; | ||
const MODULE_ENTRY_PATTERN = `**/*.([jt]s|html|css)`; | ||
const LWC_CONFIG_FILE = '.lwcrc'; | ||
@@ -22,0 +22,0 @@ function createRegistryEntry(entry, moduleSpecifier, moduleName, moduleNamespace) { |
{ | ||
"name": "@lwc/module-resolver", | ||
"description": "Resolves paths for LWC components", | ||
"version": "0.39.2-alpha5", | ||
"version": "0.39.2-alpha6", | ||
"main": "./dist/commonjs/index.js", | ||
@@ -16,3 +16,3 @@ "scripts": { | ||
}, | ||
"gitHead": "b368901b4b7b1ae39a1d455867384e931645e981" | ||
"gitHead": "692a8052b9f3e6fa911b886fcf1168743cbc5a6e" | ||
} |
@@ -19,5 +19,5 @@ /* | ||
const moduleNames = Object.keys(modules); | ||
expect(moduleNames).toHaveLength(2); | ||
expect(moduleNames).toHaveLength(3); | ||
expect(moduleNames).toEqual( | ||
expect.arrayContaining(['ns/simpleCmp', 'ns/simple-module']) | ||
expect.arrayContaining(['ns/cssModule', 'ns/simpleCmp', 'ns/simple-module']) | ||
); | ||
@@ -24,0 +24,0 @@ }); |
@@ -16,3 +16,3 @@ /* | ||
const PACKAGE_PATTERN = ['*/*/package.json', '*/package.json', 'package.json']; | ||
const MODULE_ENTRY_PATTERN = `**/*.[jt]s`; | ||
const MODULE_ENTRY_PATTERN = `**/*.([jt]s|html|css)`; | ||
const LWC_CONFIG_FILE = '.lwcrc'; | ||
@@ -19,0 +19,0 @@ |
Sorry, the diff of this file is not supported yet
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
26465
26
496