diff options
40 files changed, 81 insertions, 81 deletions
diff --git a/bench/snippets/transpiler.mjs b/bench/snippets/transpiler.mjs index e3abf266c..6872d88b7 100644 --- a/bench/snippets/transpiler.mjs +++ b/bench/snippets/transpiler.mjs @@ -51,8 +51,8 @@ if (process.isBun) { const code = readFileSync("src/test/fixtures/simple.jsx", "utf8"); -if (process.env.SYNC) { - console.log(transformSync(code, opts)); -} else { +if (process.env.ASYNC) { console.log(await transform(code, opts)); +} else { + console.log(transformSync(code, opts)); } diff --git a/integration/snapshots/array-args-with-default-values.hmr.js b/integration/snapshots/array-args-with-default-values.hmr.js index 5c67d0c6c..7cf643b9d 100644 --- a/integration/snapshots/array-args-with-default-values.hmr.js +++ b/integration/snapshots/array-args-with-default-values.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(3474597122, "array-args-with-default-values.js"), exports = hmr.exports; diff --git a/integration/snapshots/bundled-entry-point.hmr.js b/integration/snapshots/bundled-entry-point.hmr.js index b04c38495..45e9f0dba 100644 --- a/integration/snapshots/bundled-entry-point.hmr.js +++ b/integration/snapshots/bundled-entry-point.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; Bun.activate(false); diff --git a/integration/snapshots/bundled-entry-point.js b/integration/snapshots/bundled-entry-point.js index 0ffe267f1..512d886be 100644 --- a/integration/snapshots/bundled-entry-point.js +++ b/integration/snapshots/bundled-entry-point.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var hello = null ?? "world"; diff --git a/integration/snapshots/caught-require.hmr.js b/integration/snapshots/caught-require.hmr.js index c57c6f90e..3c604d74d 100644 --- a/integration/snapshots/caught-require.hmr.js +++ b/integration/snapshots/caught-require.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(2398506918, "caught-require.js"), exports = hmr.exports; diff --git a/integration/snapshots/caught-require.js b/integration/snapshots/caught-require.js index f4f12c29d..2ac200f3d 100644 --- a/integration/snapshots/caught-require.js +++ b/integration/snapshots/caught-require.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; try { require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js index 82d8617f0..4934b46b9 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js +++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import _login from "http://localhost:8080/_login.js"; import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; diff --git a/integration/snapshots/code-simplification-neql-define.hmr.js b/integration/snapshots/code-simplification-neql-define.hmr.js index 9fdd73d14..64a03dda4 100644 --- a/integration/snapshots/code-simplification-neql-define.hmr.js +++ b/integration/snapshots/code-simplification-neql-define.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(726376257, "code-simplification-neql-define.js"), exports = hmr.exports; diff --git a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx b/integration/snapshots/custom-emotion-jsx/file.hmr.jsx index 1e988f401..aae7c50c0 100644 --- a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $72625799 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var JSX = require($72625799); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/custom-emotion-jsx/file.jsx b/integration/snapshots/custom-emotion-jsx/file.jsx index 9d13c6e3f..b86650863 100644 --- a/integration/snapshots/custom-emotion-jsx/file.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $72625799 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var JSX = require($72625799); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/export.hmr.js b/integration/snapshots/export.hmr.js index a7d1f9b31..b0c14bbc6 100644 --- a/integration/snapshots/export.hmr.js +++ b/integration/snapshots/export.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import what from "http://localhost:8080/_auth.js"; import * as where from "http://localhost:8080/_auth.js"; Bun.activate(false); diff --git a/integration/snapshots/forbid-in-is-correct.hmr.js b/integration/snapshots/forbid-in-is-correct.hmr.js index e44263095..7ecffa276 100644 --- a/integration/snapshots/forbid-in-is-correct.hmr.js +++ b/integration/snapshots/forbid-in-is-correct.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(346837007, "forbid-in-is-correct.js"), exports = hmr.exports; diff --git a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js b/integration/snapshots/global-is-remapped-to-globalThis.hmr.js index d1dd77003..1abe6edd6 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js +++ b/integration/snapshots/global-is-remapped-to-globalThis.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(713665787, "global-is-remapped-to-globalThis.js"), exports = hmr.exports; diff --git a/integration/snapshots/jsx-entities.hmr.jsx b/integration/snapshots/jsx-entities.hmr.jsx index dfc647e00..6a8e19e2c 100644 --- a/integration/snapshots/jsx-entities.hmr.jsx +++ b/integration/snapshots/jsx-entities.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/jsx-entities.jsx b/integration/snapshots/jsx-entities.jsx index 5acc450c1..29ca5356c 100644 --- a/integration/snapshots/jsx-entities.jsx +++ b/integration/snapshots/jsx-entities.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/jsx-spacing.hmr.jsx b/integration/snapshots/jsx-spacing.hmr.jsx index d50a6a168..41cf523a3 100644 --- a/integration/snapshots/jsx-spacing.hmr.jsx +++ b/integration/snapshots/jsx-spacing.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/jsx-spacing.jsx b/integration/snapshots/jsx-spacing.jsx index 81e694d08..50ad5cf88 100644 --- a/integration/snapshots/jsx-spacing.jsx +++ b/integration/snapshots/jsx-spacing.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/latin1-chars-in-regexp.hmr.js b/integration/snapshots/latin1-chars-in-regexp.hmr.js index db6eec375..b223df7b3 100644 --- a/integration/snapshots/latin1-chars-in-regexp.hmr.js +++ b/integration/snapshots/latin1-chars-in-regexp.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(1430071586, "latin1-chars-in-regexp.js"), exports = hmr.exports; diff --git a/integration/snapshots/lodash-regexp.hmr.js b/integration/snapshots/lodash-regexp.hmr.js index 357568704..04db31a93 100644 --- a/integration/snapshots/lodash-regexp.hmr.js +++ b/integration/snapshots/lodash-regexp.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); Bun.activate(false); diff --git a/integration/snapshots/lodash-regexp.js b/integration/snapshots/lodash-regexp.js index dd6bca362..4214dd6ef 100644 --- a/integration/snapshots/lodash-regexp.js +++ b/integration/snapshots/lodash-regexp.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); export function test() { diff --git a/integration/snapshots/multiple-imports.hmr.js b/integration/snapshots/multiple-imports.hmr.js index 1fdda2585..90fa24453 100644 --- a/integration/snapshots/multiple-imports.hmr.js +++ b/integration/snapshots/multiple-imports.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/multiple-imports.js b/integration/snapshots/multiple-imports.js index 4e7860c10..cbbd22839 100644 --- a/integration/snapshots/multiple-imports.js +++ b/integration/snapshots/multiple-imports.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/number-literal-bug.hmr.js b/integration/snapshots/number-literal-bug.hmr.js index 1d128538c..ce74e60a0 100644 --- a/integration/snapshots/number-literal-bug.hmr.js +++ b/integration/snapshots/number-literal-bug.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(583570002, "number-literal-bug.js"), exports = hmr.exports; diff --git a/integration/snapshots/optional-chain-with-function.hmr.js b/integration/snapshots/optional-chain-with-function.hmr.js index 780c8b425..784ef9b55 100644 --- a/integration/snapshots/optional-chain-with-function.hmr.js +++ b/integration/snapshots/optional-chain-with-function.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(3608848620, "optional-chain-with-function.js"), exports = hmr.exports; diff --git a/integration/snapshots/package-json-exports/index.hmr.js b/integration/snapshots/package-json-exports/index.hmr.js index eaaad675c..040004980 100644 --- a/integration/snapshots/package-json-exports/index.hmr.js +++ b/integration/snapshots/package-json-exports/index.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $4068f25b from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; var InexactRoot = require($4068f25b); import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; diff --git a/integration/snapshots/package-json-exports/index.js b/integration/snapshots/package-json-exports/index.js index cfeee9a4a..c404afc32 100644 --- a/integration/snapshots/package-json-exports/index.js +++ b/integration/snapshots/package-json-exports/index.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $4068f25b from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; var InexactRoot = require($4068f25b); import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; diff --git a/integration/snapshots/react-context-value-func.hmr.tsx b/integration/snapshots/react-context-value-func.hmr.tsx index 04d11a10f..66bcfb36c 100644 --- a/integration/snapshots/react-context-value-func.hmr.tsx +++ b/integration/snapshots/react-context-value-func.hmr.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/react-context-value-func.tsx b/integration/snapshots/react-context-value-func.tsx index 52369fdb7..1ddd49543 100644 --- a/integration/snapshots/react-context-value-func.tsx +++ b/integration/snapshots/react-context-value-func.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/spread_with_key.hmr.tsx b/integration/snapshots/spread_with_key.hmr.tsx index 07e51f14d..0e36097a4 100644 --- a/integration/snapshots/spread_with_key.hmr.tsx +++ b/integration/snapshots/spread_with_key.hmr.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/spread_with_key.tsx b/integration/snapshots/spread_with_key.tsx index 44132b715..168a6e3ac 100644 --- a/integration/snapshots/spread_with_key.tsx +++ b/integration/snapshots/spread_with_key.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/string-escapes.hmr.js b/integration/snapshots/string-escapes.hmr.js index 406350900..1b341528c 100644 --- a/integration/snapshots/string-escapes.hmr.js +++ b/integration/snapshots/string-escapes.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/string-escapes.js b/integration/snapshots/string-escapes.js index 778f2ba76..a220eab93 100644 --- a/integration/snapshots/string-escapes.js +++ b/integration/snapshots/string-escapes.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; diff --git a/integration/snapshots/styledcomponents-output.hmr.js b/integration/snapshots/styledcomponents-output.hmr.js index 44d2b1e27..6cf42fffd 100644 --- a/integration/snapshots/styledcomponents-output.hmr.js +++ b/integration/snapshots/styledcomponents-output.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/styledcomponents-output.js b/integration/snapshots/styledcomponents-output.js index e23971b48..0df85b5c0 100644 --- a/integration/snapshots/styledcomponents-output.js +++ b/integration/snapshots/styledcomponents-output.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var JSX = require($2f488e5b); var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/template-literal.hmr.js b/integration/snapshots/template-literal.hmr.js index b237b0ec5..8097787c4 100644 --- a/integration/snapshots/template-literal.hmr.js +++ b/integration/snapshots/template-literal.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(2201713056, "template-literal.js"), exports = hmr.exports; diff --git a/integration/snapshots/ts-fallback-rewrite-works.hmr.js b/integration/snapshots/ts-fallback-rewrite-works.hmr.js index 577275c99..4f19ee3c6 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.hmr.js +++ b/integration/snapshots/ts-fallback-rewrite-works.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(421762902, "ts-fallback-rewrite-works.ts"), exports = hmr.exports; diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js index 98449f355..3bdda9320 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js +++ b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; diff --git a/integration/snapshots/type-only-imports.hmr.ts b/integration/snapshots/type-only-imports.hmr.ts index 4c3d9b9bb..b58f0cb4a 100644 --- a/integration/snapshots/type-only-imports.hmr.ts +++ b/integration/snapshots/type-only-imports.hmr.ts @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(650094581, "type-only-imports.ts"), exports = hmr.exports; diff --git a/integration/snapshots/unicode-identifiers.hmr.js b/integration/snapshots/unicode-identifiers.hmr.js index d85c42c72..386f79bb2 100644 --- a/integration/snapshots/unicode-identifiers.hmr.js +++ b/integration/snapshots/unicode-identifiers.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(1398361736, "unicode-identifiers.js"), exports = hmr.exports; diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js index fb14bc53a..d59a41bf6 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js +++ b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun -} from "http://localhost:8080/bun:runtime"; +} from "http://localhost:8080/bun:wrap"; Bun.activate(false); var hmr = new HMR(635901064, "void-shouldnt-delete-call-expressions.js"), exports = hmr.exports; |