From da7de899e14f498cb441d2198e718f5406598405 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 15 Oct 2021 23:02:40 -0700 Subject: :camera: --- .../cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js') 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 d8e3ccdd1..fa25e2df8 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 @@ -24,9 +24,10 @@ export default __cJS2eSM(function(module, exports) { require(_login_b977_0); require(_login_b977_1); Object.defineProperty(module.exports,"login",{get: () => _login, enumerable: true, configurable: true}); - var test = function test() { + function test() { return testDone(import.meta.url); }; +var test = test; Object.defineProperty(module.exports,"test",{get: () => test, enumerable: true, configurable: true}); var foo, bar; Object.defineProperties(module.exports,{'foo': {get: () => foo, set: ($_newValue) => {foo = $_newValue;}, enumerable: true, configurable: true}, -- cgit v1.2.3