safely-serve 0.0.2 → 0.0.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.
@@ -22,6 +22,10 @@ const
22
22
  filename:
23
23
  _output_file_name
24
24
  };
25
+ const
26
+ _child_process_ignore =
27
+ { resourceRegExp:
28
+ /^node:child_process$/ };
25
29
  const
26
30
  _utils_ignore =
27
31
  { resourceRegExp:
@@ -49,6 +53,10 @@ const
49
53
  const
50
54
  _ignore_plugin =
51
55
  _webpack.IgnorePlugin;
56
+ const
57
+ _child_process_ignore_plugin =
58
+ new _ignore_plugin(
59
+ _child_process_ignore);
52
60
  const
53
61
  _serve_ignore_plugin =
54
62
  new _ignore_plugin(
@@ -109,6 +117,8 @@ module.exports = {
109
117
  'node_modules/yargs-parser/browser.mjs'),
110
118
  },
111
119
  fallback: {
120
+ "node:child_process":
121
+ false,
112
122
  "serve":
113
123
  false,
114
124
  "utils":
@@ -122,11 +132,14 @@ module.exports = {
122
132
  }
123
133
  },
124
134
  externals:
125
- { serve:
135
+ { "node:child_process":
136
+ "node:child_process",
137
+ "serve":
126
138
  'serve',
127
- yargs:
139
+ "yargs":
128
140
  'yargs' },
129
141
  plugins: [
142
+ _child_process_ignore_plugin,
130
143
  _serve_ignore_plugin,
131
144
  _yargs_ignore_plugin,
132
145
  _yargs_helpers_ignore_plugin