@atlaspack/transformer-react-refresh-wrap 2.14.5-canary.154 → 2.14.5-canary.156
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.
|
@@ -28,7 +28,7 @@ function _featureFlags() {
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
29
|
// @ts-expect-error TS2304
|
|
30
30
|
function shouldExclude(asset, options) {
|
|
31
|
-
return !asset.isSource || !options.hmrOptions || !asset.env.isBrowser() || asset.env.isLibrary || asset.env.isWorker() || asset.env.isWorklet() || options.mode !== 'development' || !asset.getDependencies().find(
|
|
31
|
+
return !asset.isSource || !options.hmrOptions || !asset.env.isBrowser() || asset.env.isLibrary || asset.env.isWorker() || asset.env.isTesseract() || asset.env.isWorklet() || options.mode !== 'development' || !asset.getDependencies().find(
|
|
32
32
|
// @ts-expect-error TS7006
|
|
33
33
|
v => v.specifier === 'react' || v.specifier === 'react/jsx-runtime' || v.specifier === 'react/jsx-dev-runtime' || v.specifier === '@emotion/react' || v.specifier === '@emotion/react/jsx-runtime' || v.specifier === '@emotion/react/jsx-dev-runtime');
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/transformer-react-refresh-wrap",
|
|
3
|
-
"version": "2.14.5-canary.
|
|
3
|
+
"version": "2.14.5-canary.156+3718bff20",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/feature-flags": "2.14.1-canary.
|
|
20
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
21
|
-
"@atlaspack/utils": "2.14.5-canary.
|
|
19
|
+
"@atlaspack/feature-flags": "2.14.1-canary.224+3718bff20",
|
|
20
|
+
"@atlaspack/plugin": "2.14.5-canary.156+3718bff20",
|
|
21
|
+
"@atlaspack/utils": "2.14.5-canary.156+3718bff20",
|
|
22
22
|
"react-error-overlay": "6.0.9",
|
|
23
23
|
"react-refresh": ">=0.9 <=0.16"
|
|
24
24
|
},
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
28
28
|
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "3718bff20484138e405e321472336ac058432e10"
|
|
31
31
|
}
|
|
@@ -10,6 +10,7 @@ function shouldExclude(asset: MutableAsset, options: PluginOptions) {
|
|
|
10
10
|
!asset.env.isBrowser() ||
|
|
11
11
|
asset.env.isLibrary ||
|
|
12
12
|
asset.env.isWorker() ||
|
|
13
|
+
asset.env.isTesseract() ||
|
|
13
14
|
asset.env.isWorklet() ||
|
|
14
15
|
options.mode !== 'development' ||
|
|
15
16
|
!asset.getDependencies().find(
|