@vxrn/react-native-prebuilt 1.1.337 → 1.1.339

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.
@@ -144,7 +144,7 @@ async function buildReactNative(options = {}, {
144
144
  path
145
145
  };
146
146
  }), build2.onLoad({
147
- filter: /.*.js/
147
+ filter: /.*\.js$/
148
148
  }, async input => {
149
149
  if (!input.path.includes("react-native") && !input.path.includes("vite-native-hmr")) return;
150
150
  const code = await (0, import_promises.readFile)(input.path, "utf-8");
package/dist/cjs/index.js CHANGED
@@ -152,7 +152,7 @@ async function buildReactNative(options = {}, { platform }) {
152
152
  }
153
153
  ), build2.onLoad(
154
154
  {
155
- filter: /.*.js/
155
+ filter: /.*\.js$/
156
156
  },
157
157
  async (input) => {
158
158
  if (!input.path.includes("react-native") && !input.path.includes("vite-native-hmr"))
@@ -164,7 +164,7 @@ async function buildReactNative() {
164
164
  path
165
165
  };
166
166
  }), build2.onLoad({
167
- filter: /.*.js/
167
+ filter: /.*\.js$/
168
168
  }, async function(input) {
169
169
  if (!(!input.path.includes("react-native") && !input.path.includes("vite-native-hmr"))) {
170
170
  var code = await (0, import_promises.readFile)(input.path, "utf-8"), outagain = await (0, import_vite_flow.transformFlow)(code, {
package/dist/esm/index.js CHANGED
@@ -127,7 +127,7 @@ async function buildReactNative(options = {}, { platform }) {
127
127
  }
128
128
  ), build2.onLoad(
129
129
  {
130
- filter: /.*.js/
130
+ filter: /.*\.js$/
131
131
  },
132
132
  async (input) => {
133
133
  if (!input.path.includes("react-native") && !input.path.includes("vite-native-hmr"))
@@ -105,7 +105,7 @@ async function buildReactNative(options = {}, {
105
105
  path
106
106
  };
107
107
  }), build2.onLoad({
108
- filter: /.*.js/
108
+ filter: /.*\.js$/
109
109
  }, async input => {
110
110
  if (!input.path.includes("react-native") && !input.path.includes("vite-native-hmr")) return;
111
111
  const code = await readFile(input.path, "utf-8");
@@ -137,7 +137,7 @@ async function buildReactNative() {
137
137
  path
138
138
  };
139
139
  }), build2.onLoad({
140
- filter: /.*.js/
140
+ filter: /.*\.js$/
141
141
  }, async function(input) {
142
142
  if (!(!input.path.includes("react-native") && !input.path.includes("vite-native-hmr"))) {
143
143
  var code = await readFile(input.path, "utf-8"), outagain = await transformFlow(code, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vxrn/react-native-prebuilt",
3
3
  "type": "module",
4
- "version": "1.1.337",
4
+ "version": "1.1.339",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
7
7
  "module": "dist/esm",
@@ -31,8 +31,8 @@
31
31
  "./vendor/react-jsx-runtime-18.3.1": "./vendor/react-jsx-runtime-18.3.1/index.js"
32
32
  },
33
33
  "dependencies": {
34
- "@vxrn/vite-flow": "1.1.337",
35
- "@vxrn/vite-native-hmr": "1.1.337",
34
+ "@vxrn/vite-flow": "1.1.339",
35
+ "@vxrn/vite-native-hmr": "1.1.339",
36
36
  "esbuild": "^0.24.0",
37
37
  "fs-extra": "^11.2.0",
38
38
  "import-meta-resolve": "^4.1.0"
package/src/index.ts CHANGED
@@ -169,7 +169,7 @@ export async function buildReactNative(
169
169
 
170
170
  build.onLoad(
171
171
  {
172
- filter: /.*.js/,
172
+ filter: /.*\.js$/,
173
173
  },
174
174
  async (input) => {
175
175
  if (!input.path.includes('react-native') && !input.path.includes(`vite-native-hmr`)) {