Replace Webpack with Vite (#4765)
Co-authored-by: Tom Moor <tom@getoutline.com> Co-authored-by: Vio <vio@beanon.com>
This commit is contained in:
12
app/typings/window.d.ts
vendored
12
app/typings/window.d.ts
vendored
@@ -1,11 +1,9 @@
|
||||
declare global {
|
||||
interface NodeRequire {
|
||||
/** A special feature supported by webpack's compiler that allows you to get all matching modules starting from some base directory. */
|
||||
context: (
|
||||
directory: string,
|
||||
useSubdirectories: boolean,
|
||||
regExp: RegExp
|
||||
) => any;
|
||||
interface ImportMeta {
|
||||
/**
|
||||
* A special feature that allows you to get all matching modules starting from some base directory.
|
||||
*/
|
||||
glob: (pattern: string, option?: { eager: boolean }) => any;
|
||||
}
|
||||
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user