Mateusz Krzeszowiak 9 years ago
parent
commit
afed9d4d43
  1. 2
      test/form/computed-properties/_expected/iife.js
  2. 4
      test/form/computed-properties/_expected/umd.js
  3. 2
      test/form/dedupes-external-imports/_expected/iife.js
  4. 4
      test/form/dedupes-external-imports/_expected/umd.js
  5. 2
      test/form/export-all-from-internal/_expected/iife.js
  6. 4
      test/form/export-all-from-internal/_expected/umd.js
  7. 2
      test/form/exports-at-end-if-possible/_expected/iife.js
  8. 4
      test/form/exports-at-end-if-possible/_expected/umd.js
  9. 2
      test/form/multiple-exports/_expected/iife.js
  10. 4
      test/form/multiple-exports/_expected/umd.js
  11. 2
      test/form/namespaced-named-exports/_expected/iife.js
  12. 4
      test/form/namespaced-named-exports/_expected/umd.js
  13. 2
      test/form/preserves-comments-after-imports/_expected/iife.js
  14. 4
      test/form/preserves-comments-after-imports/_expected/umd.js

2
test/form/computed-properties/_expected/iife.js

@ -7,4 +7,4 @@
exports.x = x;
}((this.computedProperties = {})));
}((this.computedProperties = this.computedProperties || {})));

4
test/form/computed-properties/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.computedProperties = {})));
(factory((global.computedProperties = global.computedProperties || {})));
}(this, function (exports) { 'use strict';
var foo = 'foo';
@ -10,4 +10,4 @@
exports.x = x;
}));
}));

2
test/form/dedupes-external-imports/_expected/iife.js

@ -30,4 +30,4 @@
exports.bar = bar;
exports.baz = baz;
}((this.myBundle = {}),external));
}((this.myBundle = this.myBundle || {}),external));

4
test/form/dedupes-external-imports/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('external')) :
typeof define === 'function' && define.amd ? define(['exports', 'external'], factory) :
(factory((global.myBundle = {}),global.external));
(factory((global.myBundle = global.myBundle || {}),global.external));
}(this, function (exports,external) { 'use strict';
class Foo extends external.Component {
@ -33,4 +33,4 @@
exports.bar = bar;
exports.baz = baz;
}));
}));

2
test/form/export-all-from-internal/_expected/iife.js

@ -7,4 +7,4 @@
exports.a = a;
exports.b = b;
}((this.exposedInternals = {})));
}((this.exposedInternals = this.exposedInternals || {})));

4
test/form/export-all-from-internal/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.exposedInternals = {})));
(factory((global.exposedInternals = global.exposedInternals || {})));
}(this, function (exports) { 'use strict';
const a = 1;
@ -10,4 +10,4 @@
exports.a = a;
exports.b = b;
}));
}));

2
test/form/exports-at-end-if-possible/_expected/iife.js

@ -9,4 +9,4 @@
exports.FOO = FOO;
}((this.myBundle = {})));
}((this.myBundle = this.myBundle || {})));

4
test/form/exports-at-end-if-possible/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.myBundle = {})));
(factory((global.myBundle = global.myBundle || {})));
}(this, function (exports) { 'use strict';
var FOO = 'foo';
@ -12,4 +12,4 @@
exports.FOO = FOO;
}));
}));

2
test/form/multiple-exports/_expected/iife.js

@ -7,4 +7,4 @@
exports.foo = foo;
exports.bar = bar;
}((this.myBundle = {})));
}((this.myBundle = this.myBundle || {})));

4
test/form/multiple-exports/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.myBundle = {})));
(factory((global.myBundle = global.myBundle || {})));
}(this, function (exports) { 'use strict';
var foo = 1;
@ -10,4 +10,4 @@
exports.foo = foo;
exports.bar = bar;
}));
}));

2
test/form/namespaced-named-exports/_expected/iife.js

@ -7,4 +7,4 @@ this.foo.bar = this.foo.bar || {};
exports.answer = answer;
}((this.foo.bar.baz = {})));
}((this.foo.bar.baz = this.foo.bar.baz || {})));

4
test/form/namespaced-named-exports/_expected/umd.js

@ -1,11 +1,11 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = {})));
(factory((global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = global.foo.bar.baz || {})));
}(this, function (exports) { 'use strict';
var answer = 42;
exports.answer = answer;
}));
}));

2
test/form/preserves-comments-after-imports/_expected/iife.js

@ -9,4 +9,4 @@
exports.obj = obj;
}((this.myBundle = {})));
}((this.myBundle = this.myBundle || {})));

4
test/form/preserves-comments-after-imports/_expected/umd.js

@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.myBundle = {})));
(factory((global.myBundle = global.myBundle || {})));
}(this, function (exports) { 'use strict';
/** A comment for a number */
@ -12,4 +12,4 @@
exports.obj = obj;
}));
}));

Loading…
Cancel
Save