tmcsplit 0.0.1 → 0.0.3

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.
@@ -1,3 +1,27 @@
1
+ /** ----------------------------------------------------------------------
2
+ * webpack.config.js
3
+ * ----------------------------------------------------------------------
4
+ * Copyright ©
5
+ * Pellegrino Prevete
6
+ * 2024, 2025, 2026
7
+ *
8
+ * All rights reserved
9
+ * ----------------------------------------------------------------------
10
+ *
11
+ * This program is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU General Public License as published by
13
+ * the Free Software Foundation, either version 3 of the License, or
14
+ * (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU General Public License
22
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
23
+ */
24
+
1
25
  const
2
26
  _path =
3
27
  require(
@@ -22,13 +46,21 @@ const
22
46
  filename:
23
47
  _output_file_name
24
48
  };
49
+ const
50
+ _utils_ignore =
51
+ { resourceRegExp:
52
+ /^utils$/ };
53
+ const
54
+ _web_worker_ignore =
55
+ { resourceRegExp:
56
+ /^web-worker$/ };
25
57
  const
26
58
  _yargs_ignore =
27
59
  { resourceRegExp:
28
60
  /^yargs$/ };
29
61
  const
30
- _yargs_helpers_ignore = {
31
- resourceRegExp:
62
+ _yargs_helpers_ignore =
63
+ { resourceRegExp:
32
64
  /^yargs\/helpers$/ };
33
65
  const
34
66
  _webpack =
@@ -37,6 +69,14 @@ const
37
69
  const
38
70
  _ignore_plugin =
39
71
  _webpack.IgnorePlugin;
72
+ const
73
+ _utils_ignore_plugin =
74
+ new _ignore_plugin(
75
+ _utils_ignore);
76
+ const
77
+ _web_worker_ignore_plugin =
78
+ new _ignore_plugin(
79
+ _web_worker_ignore);
40
80
  const
41
81
  _yargs_ignore_plugin =
42
82
  new _ignore_plugin(
@@ -63,13 +103,33 @@ module.exports = {
63
103
  _path.resolve(
64
104
  __dirname,
65
105
  'node_modules/path/mod.js'),
106
+ "web-worker":
107
+ _path.resolve(
108
+ __dirname,
109
+ 'node_modules/web-worker/mod.js'),
110
+ "yargs":
111
+ _path.resolve(
112
+ __dirname,
113
+ 'node_modules/yargs/browser.mjs'),
114
+ "yargs/helpers":
115
+ _path.resolve(
116
+ __dirname,
117
+ 'node_modules/yargs/helpers/helpers.mjs'),
118
+ "yargs-parser":
119
+ _path.resolve(
120
+ __dirname,
121
+ 'node_modules/yargs-parser/browser.mjs'),
66
122
  },
67
123
  fallback: {
68
124
  "utils":
69
125
  false,
70
126
  "web-worker":
71
- false
72
- },
127
+ false,
128
+ "yargs":
129
+ false,
130
+ "yargs/helpers":
131
+ false,
132
+ }
73
133
  },
74
134
  externals:
75
135
  { yargs: