@we-debug/gulp-tool 0.18.0 → 0.18.1
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/CHANGELOG.md +11 -0
- package/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.18.1](https://github.com/dlhandsome/we-debug/compare/v0.18.0...v0.18.1) (2023-10-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* 解决we-debug gulp tool在某些情况下无法识别app.js的问题 ([767fb71](https://github.com/dlhandsome/we-debug/commit/767fb7162d267553ea9d5321f155062948cdaaf0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.18.0](https://github.com/dlhandsome/we-debug/compare/v0.17.3...v0.18.0) (2023-08-18)
|
|
7
18
|
|
|
8
19
|
|
package/index.js
CHANGED
|
@@ -143,7 +143,7 @@ function mpGlobalComp(options = {}) {
|
|
|
143
143
|
if (file.extname !== '.js') return callback(null, file);
|
|
144
144
|
|
|
145
145
|
// 如果是 app.js
|
|
146
|
-
if (belongsApp(file.path, baseDir)) {
|
|
146
|
+
if (belongsApp(file.path, baseDir) || file.relative === 'app.js') {
|
|
147
147
|
let code = file.contents.toString();
|
|
148
148
|
|
|
149
149
|
code = `require('${entryFile}')\n` + code;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-debug/gulp-tool",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "we-debug, gulp",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"readme": "ERROR: No README data found!",
|
|
29
29
|
"_id": "@we-debug/gulp-tool@0.1.3",
|
|
30
30
|
"_commitid": "f35f53c",
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "9c521c1f24e013c868140bd4286466ebb3ea2f1f"
|
|
32
32
|
}
|