We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc0afb commit 2cf298aCopy full SHA for 2cf298a
packages/react-scripts/config/webpack.config.js
@@ -136,6 +136,10 @@ module.exports = function (webpackEnv) {
136
137
const shouldUseReactRefresh = env.raw.FAST_REFRESH;
138
139
+ if (env.raw.IMJS_URL_PREFIX === undefined) {
140
+ env.stringified["process.env"].IMJS_URL_PREFIX = `(globalThis.IMJS_URL_PREFIX ?? "")`;
141
+ }
142
+
143
// common function to get style loaders
144
const getStyleLoaders = (cssOptions, preProcessor) => {
145
const loaders = [
packages/react-scripts/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@bentley/react-scripts",
3
- "version": "4.0.5",
+ "version": "4.0.6",
4
"description": "iModel.js configuration and scripts for Create React App.",
5
"repository": {
6
"type": "git",
0 commit comments