@lwrjs/lwc-module-provider 0.10.0-alpha.2 → 0.10.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/compiler.cjs +2 -1
- package/build/es/cache.d.ts +1 -1
- package/build/es/compiler.js +2 -1
- package/build/es/index.d.ts +1 -1
- package/package.json +6 -7
package/build/cjs/compiler.cjs
CHANGED
|
@@ -83,7 +83,8 @@ var LwcCompiler = class {
|
|
|
83
83
|
strictSpecifier: false
|
|
84
84
|
},
|
|
85
85
|
scopedStyles,
|
|
86
|
-
enableScopedSlots: true
|
|
86
|
+
enableScopedSlots: true,
|
|
87
|
+
enableDynamicComponents: true
|
|
87
88
|
};
|
|
88
89
|
import_shared_utils.logger.debug("transformSync", {filename, transformConfig});
|
|
89
90
|
const compilerResult = (0, import_compiler.transformSync)(source, filename, transformConfig);
|
package/build/es/cache.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleSource, CompilerResult } from '@lwrjs/types';
|
|
1
|
+
import type { ModuleSource, CompilerResult } from '@lwrjs/types';
|
|
2
2
|
export declare const DEFAULT_COMPILED_DIR = "lwc_compiled_modules";
|
|
3
3
|
export declare const DEFAULT_CACHE_FOLDER = "cache";
|
|
4
4
|
export declare const DEFAULT_CACHE_INDEX = "compiled.json";
|
package/build/es/compiler.js
CHANGED
|
@@ -58,7 +58,8 @@ export class LwcCompiler {
|
|
|
58
58
|
strictSpecifier: false,
|
|
59
59
|
},
|
|
60
60
|
scopedStyles,
|
|
61
|
-
enableScopedSlots: true,
|
|
61
|
+
enableScopedSlots: true,
|
|
62
|
+
enableDynamicComponents: true,
|
|
62
63
|
};
|
|
63
64
|
logger.debug('transformSync', { filename, transformConfig });
|
|
64
65
|
const compilerResult = transformSync(source, filename, transformConfig);
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleCompiled, ModuleEntry, ModuleProvider, ModuleSource, ProviderContext, AbstractModuleId } from '@lwrjs/types';
|
|
1
|
+
import type { ModuleCompiled, ModuleEntry, ModuleProvider, ModuleSource, ProviderContext, AbstractModuleId } from '@lwrjs/types';
|
|
2
2
|
export interface LwcModuleProviderOptions {
|
|
3
3
|
disableCaching?: boolean;
|
|
4
4
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.10.0-alpha.
|
|
7
|
+
"version": "0.10.0-alpha.20",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -31,15 +31,14 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/preset-typescript": "^7.9.0",
|
|
34
|
-
"@lwc/module-resolver": "2.
|
|
35
|
-
"@lwrjs/shared-utils": "0.10.0-alpha.
|
|
36
|
-
"es-module-lexer": "^0.3.18"
|
|
34
|
+
"@lwc/module-resolver": "2.50.0",
|
|
35
|
+
"@lwrjs/shared-utils": "0.10.0-alpha.20"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
|
-
"@lwrjs/types": "0.10.0-alpha.
|
|
38
|
+
"@lwrjs/types": "0.10.0-alpha.20"
|
|
40
39
|
},
|
|
41
40
|
"engines": {
|
|
42
|
-
"node": ">=16.0.0
|
|
41
|
+
"node": ">=16.0.0"
|
|
43
42
|
},
|
|
44
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "45a867fc54e98f77dd442ccd5f668e23027b9246"
|
|
45
44
|
}
|