@lwc/style-compiler 8.12.7 → 8.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
@@ -796,13 +796,13 @@ function transform(src, id, config = {}) {
|
|
796
796
|
return { code: 'export default undefined' };
|
797
797
|
}
|
798
798
|
const scoped = !!config.scoped;
|
799
|
-
|
799
|
+
shared.getAPIVersionFromNumber(config.apiVersion);
|
800
800
|
const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
|
801
|
-
const plugins = [postCssLwcPlugin({ scoped,
|
801
|
+
const plugins = [postCssLwcPlugin({ scoped, disableSyntheticShadowSupport })];
|
802
802
|
const result = postcss(plugins).process(src, { from: id }).sync();
|
803
803
|
return { code: serialize(result, config) };
|
804
804
|
}
|
805
805
|
|
806
806
|
exports.transform = transform;
|
807
|
-
/** version: 8.
|
807
|
+
/** version: 8.13.0 */
|
808
808
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
@@ -792,13 +792,13 @@ function transform(src, id, config = {}) {
|
|
792
792
|
return { code: 'export default undefined' };
|
793
793
|
}
|
794
794
|
const scoped = !!config.scoped;
|
795
|
-
|
795
|
+
getAPIVersionFromNumber(config.apiVersion);
|
796
796
|
const disableSyntheticShadowSupport = !!config.disableSyntheticShadowSupport;
|
797
|
-
const plugins = [postCssLwcPlugin({ scoped,
|
797
|
+
const plugins = [postCssLwcPlugin({ scoped, disableSyntheticShadowSupport })];
|
798
798
|
const result = postcss(plugins).process(src, { from: id }).sync();
|
799
799
|
return { code: serialize(result, config) };
|
800
800
|
}
|
801
801
|
|
802
802
|
export { transform };
|
803
|
-
/** version: 8.
|
803
|
+
/** version: 8.13.0 */
|
804
804
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
5
5
|
],
|
6
6
|
"name": "@lwc/style-compiler",
|
7
|
-
"version": "8.
|
7
|
+
"version": "8.13.0",
|
8
8
|
"description": "Transform style sheet to be consumed by the LWC engine",
|
9
9
|
"keywords": [
|
10
10
|
"lwc"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
}
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@lwc/shared": "8.
|
49
|
+
"@lwc/shared": "8.13.0",
|
50
50
|
"postcss": "~8.5.1",
|
51
51
|
"postcss-selector-parser": "~7.0.0",
|
52
52
|
"postcss-value-parser": "~4.2.0"
|