ee-bin 4.1.8 → 4.1.9
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 +1 -1
- package/tools/serve.js +2 -1
package/package.json
CHANGED
package/tools/serve.js
CHANGED
|
@@ -322,8 +322,9 @@ class ServeProcess {
|
|
|
322
322
|
pkg.main =this.electronDir + '/' + mainFile;
|
|
323
323
|
writeJsonSync(pkgPath, pkg);
|
|
324
324
|
} else {
|
|
325
|
+
// only load main.js file
|
|
325
326
|
// const bundleMainPath = path.join(this.bundleDir, 'main.js');
|
|
326
|
-
const bundleMainPath = this.bundleDir + '/' +
|
|
327
|
+
const bundleMainPath = this.bundleDir + '/' + 'main.js';
|
|
327
328
|
|
|
328
329
|
// Modify when the path is incorrect to reduce unnecessary operations
|
|
329
330
|
if (pkg.main != bundleMainPath) {
|