@gravity-ui/app-builder 0.33.0 → 0.33.2

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.
@@ -11,7 +11,10 @@ const DEFAULT_EXCLUDE = ['node_modules'];
11
11
  exports.EXTENSIONS_TO_COMPILE = ['.js', '.ts', '.mts', '.mjs', '.cjs'];
12
12
  function resolvePaths(paths, baseUrl) {
13
13
  const entries = [];
14
- for (const targets of Object.values(paths)) {
14
+ for (const [key, targets] of Object.entries(paths)) {
15
+ if (key === '*') {
16
+ continue;
17
+ }
15
18
  for (const target of targets) {
16
19
  const resolvedPath = path_1.default.resolve(baseUrl, target.replace(/\*$/, ''));
17
20
  entries.push(resolvedPath);
@@ -955,7 +955,7 @@ function configureCommonPlugins(options, bundlerPlugins) {
955
955
  contextReplacements.forEach(({ resourceRegExp, newResource }) => plugins.push(new bundlerPlugins.ContextReplacementPlugin(resourceRegExp, newResource)));
956
956
  if (config.polyfill?.process) {
957
957
  plugins.push(new bundlerPlugins.ProvidePlugin({
958
- process: 'process/browser.js',
958
+ process: require.resolve('process/browser.js'),
959
959
  }));
960
960
  }
961
961
  if (config.monaco) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.33.0",
3
+ "version": "0.33.2",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",