vite-plugin-externals
Advanced tools
Comparing version 0.6.1 to 0.6.2
export declare const ID_FILTER_REG: RegExp; | ||
export declare const NODE_MODULES_FLAG = "node_modules"; | ||
export declare const CACHE_DIR = ".vite-plugin-externals"; |
export const ID_FILTER_REG = /\.(mjs|js|ts|vue|jsx|tsx)(\?.*|)$/; | ||
export const NODE_MODULES_FLAG = 'node_modules'; | ||
export const CACHE_DIR = '.vite-plugin-externals'; |
@@ -0,0 +0,0 @@ import { TransformPluginContext } from 'rollup'; |
@@ -0,0 +0,0 @@ var __asyncValues = (this && this.__asyncValues) || function (o) { |
import { Options, UserOptions } from './types'; | ||
export declare const defaultOptions: Options; | ||
export declare function resolveOptions(userOptions: UserOptions): Options; |
@@ -0,0 +0,0 @@ import { ID_FILTER_REG, NODE_MODULES_FLAG } from './constant'; |
import { ExternalValue, Externals, TransformModuleNameFn } from './types'; | ||
export declare const transformImports: (raw: string, externalValue: ExternalValue, transformModuleName: TransformModuleNameFn) => string; | ||
export declare function transformRequires(code: string, externals: Externals, transformModuleName: TransformModuleNameFn): string; |
@@ -0,0 +0,0 @@ import { Parser } from 'acorn'; |
@@ -0,0 +0,0 @@ import { TransformPluginContext } from 'rollup'; |
export {}; |
export declare function isObject(o: unknown): boolean; |
export function isObject(o) { | ||
return Object.prototype.toString.call(o) === '[object Object]'; | ||
} |
export {}; |
@@ -0,0 +0,0 @@ import { transformImports, transformRequires } from '../src/transform'; |
export declare const ID_FILTER_REG: RegExp; | ||
export declare const NODE_MODULES_FLAG = "node_modules"; | ||
export declare const CACHE_DIR = ".vite-plugin-externals"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TransformPluginContext } from 'rollup'; |
@@ -0,0 +0,0 @@ "use strict"; |
import { Options, UserOptions } from './types'; | ||
export declare const defaultOptions: Options; | ||
export declare function resolveOptions(userOptions: UserOptions): Options; |
@@ -0,0 +0,0 @@ "use strict"; |
import { ExternalValue, Externals, TransformModuleNameFn } from './types'; | ||
export declare const transformImports: (raw: string, externalValue: ExternalValue, transformModuleName: TransformModuleNameFn) => string; | ||
export declare function transformRequires(code: string, externals: Externals, transformModuleName: TransformModuleNameFn): string; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { TransformPluginContext } from 'rollup'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export declare function isObject(o: unknown): boolean; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,1 +0,1 @@ | ||
export * from './dist' | ||
export * from './dist/src' |
{ | ||
"name": "vite-plugin-externals", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "externals plugin for vite", | ||
@@ -5,0 +5,0 @@ "author": "crcong", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38772