topsyde-utils 1.0.143 → 1.0.145
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.
@@ -1,7 +1,5 @@
|
|
1
1
|
import type { Plugin } from "vite";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
declare function topsydeUtilsVitePlugin(): Plugin[];
|
7
|
-
export default topsydeUtilsVitePlugin;
|
2
|
+
declare const _default: {
|
3
|
+
topsydeUtilsVitePlugin: () => Plugin[];
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* Creates a Vite plugin that provides compatibility for topsyde-utils in browser environments
|
3
3
|
* by disabling sourcemaps and providing mock implementations of Node.js modules.
|
4
4
|
*/
|
5
|
-
|
5
|
+
const topsydeUtilsVitePlugin = () => {
|
6
6
|
return [
|
7
7
|
// Plugin to disable sourcemaps for node_modules
|
8
8
|
{
|
@@ -73,6 +73,6 @@ function topsydeUtilsVitePlugin() {
|
|
73
73
|
},
|
74
74
|
},
|
75
75
|
];
|
76
|
-
}
|
77
|
-
export default topsydeUtilsVitePlugin;
|
76
|
+
};
|
77
|
+
export default { topsydeUtilsVitePlugin };
|
78
78
|
//# sourceMappingURL=topsydeUtilsVitePlugin.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"topsydeUtilsVitePlugin.js","sourceRoot":"","sources":["../../../../src/client/vite/plugins/topsydeUtilsVitePlugin.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,
|
1
|
+
{"version":3,"file":"topsydeUtilsVitePlugin.js","sourceRoot":"","sources":["../../../../src/client/vite/plugins/topsydeUtilsVitePlugin.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,sBAAsB,GAAG,GAAa,EAAE;IAC7C,OAAO;QACN,gDAAgD;QAChD;YACC,IAAI,EAAE,kCAAkC;YACxC,SAAS,CAAC,IAAI,EAAE,EAAE;gBACjB,IAAI,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAE,CAAC;oBAC/C,OAAO;wBACN,IAAI;wBACJ,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,yBAAyB;qBAChD,CAAC;gBACH,CAAC;YACF,CAAC;SACD;QACD,0DAA0D;QAC1D;YACC,IAAI,EAAE,8BAA8B;YACpC,SAAS,CAAC,EAAE;gBACX,IAAI,EAAE,KAAK,cAAc,IAAI,EAAE,KAAK,YAAY,EAAE,CAAC;oBAClD,OAAO,EAAE,CAAC;gBACX,CAAC;gBACD,OAAO,IAAI,CAAC;YACb,CAAC;YACD,IAAI,CAAC,EAAE;gBACN,IAAI,EAAE,KAAK,cAAc,EAAE,CAAC;oBAC3B,OAAO;;;;;;;WAOD,CAAC;gBACR,CAAC;gBACD,IAAI,EAAE,KAAK,YAAY,EAAE,CAAC;oBACzB,OAAO;;;;;;;;;;;;WAYD,CAAC;gBACR,CAAC;gBACD,OAAO,IAAI,CAAC;YACb,CAAC;SACD;QACD,kDAAkD;QAClD;YACC,IAAI,EAAE,uBAAuB;YAC7B,MAAM;gBACL,OAAO;oBACN,OAAO,EAAE;wBACR,KAAK,EAAE;4BACN,6CAA6C;4BAC7C,IAAI,EAAE,cAAc;4BACpB,EAAE,EAAE,YAAY;yBAChB;qBACD;oBACD,YAAY,EAAE;wBACb,OAAO,EAAE,CAAC,eAAe,CAAC;qBAC1B;iBACD,CAAC;YACH,CAAC;SACD;KACD,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,sBAAsB,EAAE,CAAC"}
|