1 |
|
2 | import { SnowpackConfig } from '../types';
|
3 | export declare function getMetaUrlPath(urlPath: string, config: SnowpackConfig): string;
|
4 | export declare function wrapImportMeta({ code, hmr, env, config, }: {
|
5 | code: string;
|
6 | hmr: boolean;
|
7 | env: boolean;
|
8 | config: SnowpackConfig;
|
9 | }): string;
|
10 | export declare function wrapHtmlResponse({ code, hmr, hmrPort, isDev, config, mode, }: {
|
11 | code: string;
|
12 | hmr: boolean;
|
13 | hmrPort?: number;
|
14 | isDev: boolean;
|
15 | config: SnowpackConfig;
|
16 | mode: 'development' | 'production';
|
17 | }): string;
|
18 | export declare function wrapImportProxy({ url, code, hmr, config, }: {
|
19 | url: string;
|
20 | code: string | Buffer;
|
21 | hmr: boolean;
|
22 | config: SnowpackConfig;
|
23 | }): Promise<string>;
|
24 | export declare function generateEnvModule({ mode, isSSR, }: {
|
25 | mode: 'development' | 'production';
|
26 | isSSR: boolean;
|
27 | }): string;
|