@magento/venia-concept 14.4.0 → 14.5.0-alpha2
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/package.json +6 -6
- package/webpack.config.js +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magento/venia-concept",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/magento/pwa-studio/tree/main/packages/venia-concept#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@magento/experience-platform-connector": "
|
|
38
|
+
"@magento/experience-platform-connector": "1.0.12-alpha2",
|
|
39
39
|
"@magento/pwa-buildpack": "~11.5.3",
|
|
40
40
|
"dompurify": "~3.2.4"
|
|
41
41
|
},
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@babel/runtime": "~7.15.3",
|
|
56
56
|
"@magento/babel-preset-peregrine": "~1.3.3",
|
|
57
57
|
"@magento/eslint-config": "~1.5.0",
|
|
58
|
-
"@magento/pagebuilder": "
|
|
59
|
-
"@magento/peregrine": "
|
|
58
|
+
"@magento/pagebuilder": "9.3.7-alpha2",
|
|
59
|
+
"@magento/peregrine": "15.7.2-alpha2",
|
|
60
60
|
"@magento/pwa-theme-venia": "~2.4.0",
|
|
61
|
-
"@magento/upward-security-headers": "
|
|
62
|
-
"@magento/venia-ui": "
|
|
61
|
+
"@magento/upward-security-headers": "1.1.20-alpha2",
|
|
62
|
+
"@magento/venia-ui": "11.7.2-alpha2",
|
|
63
63
|
"@pmmmwh/react-refresh-webpack-plugin": "0.4.1",
|
|
64
64
|
"@storybook/react": "~6.3.7",
|
|
65
65
|
"@types/node": "16",
|
package/webpack.config.js
CHANGED
|
@@ -119,6 +119,18 @@ module.exports = async env => {
|
|
|
119
119
|
/@adobe\/adobe\-client\-data\-layer/,
|
|
120
120
|
/braintree\-web\-drop\-in/
|
|
121
121
|
];
|
|
122
|
+
|
|
123
|
+
// Add extension directories to the babel-loader include paths
|
|
124
|
+
const jsRule = config.module.rules.find(
|
|
125
|
+
rule => rule.test && rule.test.toString().includes('jsx')
|
|
126
|
+
);
|
|
127
|
+
if (jsRule && jsRule.include) {
|
|
128
|
+
const extensionsPath = path.resolve(__dirname, '../extensions');
|
|
129
|
+
if (!jsRule.include.includes(extensionsPath)) {
|
|
130
|
+
jsRule.include.push(extensionsPath);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
122
134
|
config.plugins = [
|
|
123
135
|
...config.plugins,
|
|
124
136
|
new DefinePlugin({
|