11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
33exports [` fixtures alias 1` ] = `
4- "Used script: microbundle --no-sourcemap -f cjs - -alias ./constants=./constants-debug
4+ "Used script: microbundle --no-sourcemap --alias ./constants=./constants-debug
55
66Directory tree:
77
88alias
99 dist
1010 alias-mapping.js
11+ alias-mapping.mjs
12+ alias-mapping.umd.js
1113 package.json
1214 src
1315 constants-debug.js
@@ -17,14 +19,28 @@ alias
1719
1820Build \\ "aliasMapping\\ " to dist:
192162 B: alias-mapping.js.gz
20- 46 B: alias-mapping.js.br"
22+ 46 B: alias-mapping.js.br
23+ 62 B: alias-mapping.mjs.gz
24+ 46 B: alias-mapping.mjs.br
25+ 156 B: alias-mapping.umd.js.gz
26+ 111 B: alias-mapping.umd.js.br"
2127` ;
2228
2329exports [` fixtures alias 2` ] = `
2430"console.log(\\ "DEBUG should be true: \\ ",!0);
2531"
2632` ;
2733
34+ exports [` fixtures alias 3` ] = `
35+ "console.log(\\ "DEBUG should be true: \\ ",!0);
36+ "
37+ ` ;
38+
39+ exports [` fixtures alias 4` ] = `
40+ "!function(e,o){ \\" object\\ " == typeof exports && \\" undefined\\ " != typeof module ? o (): \\" function\\ " == typeof define && define .amd ? define (o ): o ()} (0,function(){ console .log (\\" DEBUG should be true: \\ " ,! 0 )} );
41+ "
42+ ` ;
43+
2844exports [` fixtures async-iife-ts 1` ] = `
2945"Used script: microbundle
3046
@@ -754,7 +770,7 @@ exports[`fixtures default-named 6`] = `
754770exports [` fixtures default-named 7` ] = ` "{ \\" version\\ " :3 ,\\" file\\ " :\\" default-named.umd.js\\ " ,\\" sources\\ " :[\\" ../src/index.js\\ " ],\\" sourcesContent\\ " :[\\" export const foo = 42;\\\\ nexport default function bar() {}\\\\ n\\ " ],\\" names\\ " :[],\\" mappings\\ " :\\" wLAAmB,aACJ\\ " } "` ;
755771
756772exports [` fixtures define 1` ] = `
757- "Used script: microbundle --no-sourcemap -f cjs - -define DEBUG=false
773+ "Used script: microbundle --no-sourcemap --define DEBUG=false
758774
759775Directory tree:
760776
0 commit comments