@parcel/workers 2.0.0-nightly.1365 → 2.0.0-nightly.1368
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/Worker.js +1 -1
- package/package.json +8 -8
- package/src/Worker.js +1 -1
package/lib/Worker.js
CHANGED
@@ -42,7 +42,7 @@ class Worker extends _events().default {
|
|
42
42
|
this.options = options;
|
43
43
|
}
|
44
44
|
async fork(forkModule) {
|
45
|
-
let filteredArgs = process.execArgv.filter(v => !/^--(debug|inspect|max-old-space-size=)/.test(v));
|
45
|
+
let filteredArgs = process.execArgv.filter(v => !/^--(debug|inspect|no-opt|max-old-space-size=)/.test(v));
|
46
46
|
for (let i = 0; i < filteredArgs.length; i++) {
|
47
47
|
let arg = filteredArgs[i];
|
48
48
|
let isArgWithParam = (arg === '-r' || arg === '--require') && filteredArgs[i + 1] === '@parcel/register' || arg === '--title';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/workers",
|
3
|
-
"version": "2.0.0-nightly.
|
3
|
+
"version": "2.0.0-nightly.1368+ac96136bb",
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
5
5
|
"license": "MIT",
|
6
6
|
"publishConfig": {
|
@@ -21,20 +21,20 @@
|
|
21
21
|
"node": ">= 12.0.0"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@parcel/diagnostic": "2.0.0-nightly.
|
25
|
-
"@parcel/logger": "2.0.0-nightly.
|
26
|
-
"@parcel/profiler": "2.9.4-nightly.
|
27
|
-
"@parcel/types": "2.0.0-nightly.
|
28
|
-
"@parcel/utils": "2.0.0-nightly.
|
24
|
+
"@parcel/diagnostic": "2.0.0-nightly.1368+ac96136bb",
|
25
|
+
"@parcel/logger": "2.0.0-nightly.1368+ac96136bb",
|
26
|
+
"@parcel/profiler": "2.9.4-nightly.2991+ac96136bb",
|
27
|
+
"@parcel/types": "2.0.0-nightly.1368+ac96136bb",
|
28
|
+
"@parcel/utils": "2.0.0-nightly.1368+ac96136bb",
|
29
29
|
"nullthrows": "^1.1.1"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"@parcel/core": "2.0.0-nightly.
|
32
|
+
"@parcel/core": "2.0.0-nightly.1366+ac96136bb"
|
33
33
|
},
|
34
34
|
"browser": {
|
35
35
|
"./src/cpuCount.js": false,
|
36
36
|
"./src/process/ProcessWorker.js": false,
|
37
37
|
"./src/threads/ThreadsWorker.js": false
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "ac96136bb28d4b876fcf415b17cfba717a3d1b36"
|
40
40
|
}
|
package/src/Worker.js
CHANGED
@@ -49,7 +49,7 @@ export default class Worker extends EventEmitter {
|
|
49
49
|
|
50
50
|
async fork(forkModule: FilePath) {
|
51
51
|
let filteredArgs = process.execArgv.filter(
|
52
|
-
v => !/^--(debug|inspect|max-old-space-size=)/.test(v),
|
52
|
+
v => !/^--(debug|inspect|no-opt|max-old-space-size=)/.test(v),
|
53
53
|
);
|
54
54
|
|
55
55
|
for (let i = 0; i < filteredArgs.length; i++) {
|