@dcloudio/vue-cli-plugin-hbuilderx 2.0.1-34920220630001 → 2.0.1-35320220729001
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.
|
@@ -87,8 +87,8 @@ const plugins = [
|
|
|
87
87
|
UNICLOUD_DEBUG: process.env.UNICLOUD_DEBUG,
|
|
88
88
|
RUN_BY_HBUILDERX: process.env.RUN_BY_HBUILDERX,
|
|
89
89
|
UNI_AUTOMATOR_WS_ENDPOINT: JSON.stringify(process.env.UNI_AUTOMATOR_WS_ENDPOINT),
|
|
90
|
-
UNI_STAT_UNI_CLOUD: process.env.UNI_STAT_UNI_CLOUD || '',
|
|
91
|
-
UNI_STAT_DEBUG: process.env.UNI_STAT_DEBUG || ''
|
|
90
|
+
UNI_STAT_UNI_CLOUD: process.env.UNI_STAT_UNI_CLOUD || '""',
|
|
91
|
+
UNI_STAT_DEBUG: process.env.UNI_STAT_DEBUG || '""'
|
|
92
92
|
}
|
|
93
93
|
}),
|
|
94
94
|
new webpack.BannerPlugin({
|
|
@@ -339,6 +339,9 @@ module.exports = function () {
|
|
|
339
339
|
resolve: {
|
|
340
340
|
extensions: ['.js', '.nvue', '.vue', '.json'],
|
|
341
341
|
alias: {
|
|
342
|
+
'@/pages.json': path.resolve(process.env.UNI_INPUT_DIR, 'pages.json') + '?' + JSON.stringify({
|
|
343
|
+
type: 'origin-pages-json'
|
|
344
|
+
}),
|
|
342
345
|
'@': process.env.UNI_INPUT_DIR,
|
|
343
346
|
'uni-polyfill': require.resolve('@dcloudio/uni-cli-shared/lib/uni-polyfill.js'),
|
|
344
347
|
'uni-pages': path.resolve(process.env.UNI_INPUT_DIR, 'pages.json'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/vue-cli-plugin-hbuilderx",
|
|
3
|
-
"version": "2.0.1-
|
|
3
|
+
"version": "2.0.1-35320220729001",
|
|
4
4
|
"description": "HBuilderX plugin for vue-cli 3",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"css": "~2.2.1",
|
|
19
19
|
"escodegen": "^1.8.1"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "6f1c61f2ad2c22bde3d36f42e3ccc1a077a5292c"
|
|
22
22
|
}
|
|
@@ -1494,7 +1494,7 @@ function parse (
|
|
|
1494
1494
|
if(
|
|
1495
1495
|
(
|
|
1496
1496
|
!onRE.test(attr.name) &&
|
|
1497
|
-
attr.name
|
|
1497
|
+
!slotRE.test(attr.name)
|
|
1498
1498
|
) && // fixed by xxxxxx 忽略 v-slot
|
|
1499
1499
|
attr.value === '' &&
|
|
1500
1500
|
(attr.start + attr.name.length) === attr.end
|