Skip to content

Commit da33e52

Browse files
committed
remove unused method
1 parent 90de50c commit da33e52

File tree

1 file changed

+0
-10
lines changed
  • packages/kit/src/exports/vite/build

1 file changed

+0
-10
lines changed

packages/kit/src/exports/vite/build/utils.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import fs from 'node:fs';
22
import path from 'node:path';
33
import { normalizePath } from 'vite';
4-
import { ENDPOINT_METHODS } from '../../../constants';
54

65
/**
76
* Adds transitive JS and CSS dependencies to the js and css inputs.
@@ -91,12 +90,3 @@ export function resolve_symlinks(manifest, file) {
9190
export function assets_base(config) {
9291
return (config.paths.assets || config.paths.base || '.') + '/';
9392
}
94-
95-
// If we'd written this in TypeScript, it could be easy...
96-
/**
97-
* @param {string} str
98-
* @returns {str is import('types').HttpMethod}
99-
*/
100-
export function is_http_method(str) {
101-
return ENDPOINT_METHODS.has(str);
102-
}

0 commit comments

Comments
 (0)