@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
|
-
//
|
|
976
|
-
//
|
|
977
|
-
|
|
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