glyphix 1.0.39 → 1.0.40
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/bin/glyphix.js +4 -4
- package/package.json +1 -1
package/bin/glyphix.js
CHANGED
|
@@ -199,7 +199,7 @@ var GxGenerate = class {
|
|
|
199
199
|
target: "node14",
|
|
200
200
|
// 目标平台设置为最新 ECMAScript
|
|
201
201
|
define: {
|
|
202
|
-
|
|
202
|
+
// 'process.env.GLYPHIX_APP_VERSION': `"${this.getGitVersion()}"`,
|
|
203
203
|
...this.loadEnv()
|
|
204
204
|
},
|
|
205
205
|
nodePaths: [(0, import_node_path3.resolve)(this.sourceRoot, "..", "node_modules")],
|
|
@@ -296,9 +296,9 @@ var GxGenerate = class {
|
|
|
296
296
|
});
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
getGitVersion() {
|
|
300
|
-
|
|
301
|
-
}
|
|
299
|
+
// getGitVersion() {
|
|
300
|
+
// return execSync('git rev-parse HEAD').toString().trim();
|
|
301
|
+
// }
|
|
302
302
|
build() {
|
|
303
303
|
const curDir = process.cwd();
|
|
304
304
|
this.installDependencies().then(() => {
|