@gravity-ui/app-builder 0.39.1 → 0.39.2-beta.0

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.
@@ -972,9 +972,10 @@ function configureCommonPlugins(options, bundlerPlugins) {
972
972
  plugins.push(new MonacoEditorWebpackPlugin({
973
973
  filename: isEnvProduction ? '[name].[hash:8].worker.js' : undefined,
974
974
  ...config.monaco,
975
- // currently, workers located on cdn are not working properly, so we are enforcing loading workers from
976
- // service instead
977
- publicPath: config.publicPath,
975
+ // When cdn-compat is enabled, don't override publicPath
976
+ // let the plugin use __webpack_public_path__ (CDN URL at runtime).
977
+ // The plugin handles cross-origin via blob URL automatically.
978
+ publicPath: config.webWorkerHandle === 'cdn-compat' ? undefined : config.publicPath,
978
979
  }));
979
980
  }
980
981
  plugins.push(createMomentTimezoneDataPlugin(config.momentTz));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.39.1",
3
+ "version": "0.39.2-beta.0",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",