Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
19
node_modules/next/dist/build/webpack/loaders/modularize-import-loader.d.ts
generated
vendored
Normal file
19
node_modules/next/dist/build/webpack/loaders/modularize-import-loader.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export type ModularizeImportLoaderOptions = {
|
||||
name: string;
|
||||
join?: string;
|
||||
from: 'default' | 'named';
|
||||
as: 'default' | 'named';
|
||||
};
|
||||
/**
|
||||
* This loader is to create special re-exports from a specific file.
|
||||
* For example, the following loader:
|
||||
*
|
||||
* modularize-import-loader?name=Arrow&from=Arrow&as=default&join=./icons/Arrow!lucide-react
|
||||
*
|
||||
* will be used to create a re-export of:
|
||||
*
|
||||
* export { Arrow as default } from "join(resolve_path('lucide-react'), '/icons/Arrow')"
|
||||
*
|
||||
* This works even if there's no export field in the package.json of the package.
|
||||
*/
|
||||
export default function transformSource(this: any): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue