@remix_labs/machine-starter 2.1838.0-dev → 2.1841.0-dev
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/groovebox_build.js +1 -1
- package/machine-wasm.worker.js +1 -1
- package/node.js +1 -1
- package/package.json +2 -2
- package/webpack.config.js +1 -17
package/node.js
CHANGED
|
@@ -17,7 +17,7 @@ global.Process = Process;
|
|
|
17
17
|
import { Worker } from "worker_threads";
|
|
18
18
|
|
|
19
19
|
function GetMachineWASMWorker() {
|
|
20
|
-
return new Worker(new URL("./machine-wasm.mjs", import.meta.url));
|
|
20
|
+
return new Worker(new URL("./machine-wasm.node.mjs", import.meta.url));
|
|
21
21
|
}
|
|
22
22
|
global.GetMachineWASMWorker = GetMachineWASMWorker;
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix_labs/machine-starter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1841.0-dev",
|
|
4
4
|
"description": "start the groove",
|
|
5
5
|
"main": "node.js",
|
|
6
6
|
"browser": "index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Remixlabs staff",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remix_labs/hub-client": "2.
|
|
14
|
+
"@remix_labs/hub-client": "2.1841.0-dev",
|
|
15
15
|
"nanoid": "^3.1.12",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|
package/webpack.config.js
CHANGED
|
@@ -21,12 +21,6 @@ export default [
|
|
|
21
21
|
{
|
|
22
22
|
test: /\.worker.js$/,
|
|
23
23
|
type: 'asset/source'
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
// Needed for import.meta.url unless we bundle the web workers
|
|
27
|
-
// themselves as separate entries in this bundle.
|
|
28
|
-
test: /\.js$/,
|
|
29
|
-
loader: '@open-wc/webpack-import-meta-loader'
|
|
30
24
|
}
|
|
31
25
|
]
|
|
32
26
|
}
|
|
@@ -41,22 +35,12 @@ export default [
|
|
|
41
35
|
optimization: {
|
|
42
36
|
minimize: false,
|
|
43
37
|
},
|
|
44
|
-
module: {
|
|
45
|
-
rules: [
|
|
46
|
-
{
|
|
47
|
-
// Needed for import.meta.url unless we bundle the web workers
|
|
48
|
-
// themselves as separate entries in this bundle.
|
|
49
|
-
test: /\.js$/,
|
|
50
|
-
loader: '@open-wc/webpack-import-meta-loader'
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
38
|
experiments: {
|
|
55
39
|
outputModule: true
|
|
56
40
|
},
|
|
57
41
|
output: {
|
|
58
42
|
chunkFormat: 'module',
|
|
59
|
-
filename: 'machine-starter.
|
|
43
|
+
filename: 'machine-starter.mjs',
|
|
60
44
|
library : {
|
|
61
45
|
type: 'module',
|
|
62
46
|
},
|