@remix_labs/machine-starter 1.1924.0-dev → 1.1929.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/index.js +301 -8
- package/node.js +5 -29
- package/package.json +2 -2
- package/start.js +2 -2
- package/common.js +0 -292
- package/machine-wasm.worker.js +0 -2
- package/webpack.config.js +0 -66
package/webpack.config.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
|
|
3
|
-
import {fileURLToPath} from 'url'
|
|
4
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
5
|
-
const __dirname = path.dirname(__filename);
|
|
6
|
-
|
|
7
|
-
export default [
|
|
8
|
-
{
|
|
9
|
-
name: 'web',
|
|
10
|
-
entry: './index.js',
|
|
11
|
-
mode: "production",
|
|
12
|
-
output: {
|
|
13
|
-
filename: 'machine-starter.js',
|
|
14
|
-
path: path.resolve(__dirname, '../dist')
|
|
15
|
-
},
|
|
16
|
-
optimization: {
|
|
17
|
-
minimize: false
|
|
18
|
-
},
|
|
19
|
-
module: {
|
|
20
|
-
rules: [
|
|
21
|
-
{
|
|
22
|
-
test: /\.worker.js$/,
|
|
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
|
-
}
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: 'node',
|
|
36
|
-
target: 'node',
|
|
37
|
-
mode: "production",
|
|
38
|
-
entry: {
|
|
39
|
-
node: './start.js',
|
|
40
|
-
},
|
|
41
|
-
optimization: {
|
|
42
|
-
minimize: false,
|
|
43
|
-
},
|
|
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
|
-
experiments: {
|
|
55
|
-
outputModule: true
|
|
56
|
-
},
|
|
57
|
-
output: {
|
|
58
|
-
chunkFormat: 'module',
|
|
59
|
-
filename: 'machine-starter.node.mjs',
|
|
60
|
-
library : {
|
|
61
|
-
type: 'module',
|
|
62
|
-
},
|
|
63
|
-
path: path.resolve(__dirname, '../dist'),
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
]
|