@brillout/vite-plugin-server-entry
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -50,8 +50,12 @@ "use strict"; | ||
} | ||
/* The try-catch doesn't work as the following is still thrown: | ||
* ``` | ||
* SyntaxError: Cannot use 'import.meta' outside a module | ||
* ``` | ||
try { | ||
// import.meta.filename is defined when this file is bundled into an ESM module | ||
// @ts-ignore | ||
filename = import.meta.filename; | ||
} | ||
catch { } | ||
// import.meta.filename is defined when this file is bundled into an ESM module | ||
// @ts-ignore | ||
filename = import.meta.filename | ||
} catch {} | ||
*/ | ||
if (!filename) { | ||
@@ -58,0 +62,0 @@ return false; |
export { assert }; | ||
export { assertUsage }; | ||
export { logLabel }; | ||
declare const logLabel: "[@brillout/vite-plugin-server-entry@0.5.2]"; | ||
declare const logLabel: "[@brillout/vite-plugin-server-entry@0.5.3]"; | ||
declare function assert(condition: unknown, debugInfo?: unknown): asserts condition; | ||
declare function assertUsage(condition: unknown, errorMessage: string): asserts condition; |
@@ -1,1 +0,1 @@ | ||
export declare const PROJECT_VERSION: "0.5.2"; | ||
export declare const PROJECT_VERSION: "0.5.3"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PROJECT_VERSION = void 0; | ||
exports.PROJECT_VERSION = '0.5.2'; | ||
exports.PROJECT_VERSION = '0.5.3'; |
export declare const projectInfo: { | ||
projectName: "@brillout/vite-plugin-server-entry"; | ||
npmPackageName: "@brillout/vite-plugin-server-entry"; | ||
projectVersion: "0.5.2"; | ||
projectVersion: "0.5.3"; | ||
githubRepository: "https://github.com/brillout/vite-plugin-server-entry"; | ||
}; |
{ | ||
"name": "@brillout/vite-plugin-server-entry", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": "https://github.com/brillout/vite-plugin-server-entry", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
55350
1138