@rsbuild/plugin-node-polyfill
Advanced tools
Comparing version 0.7.10 to 1.0.0-alpha.0
@@ -1,3 +0,2 @@ | ||
import { RsbuildPlugin } from '@rsbuild/core'; | ||
import type { RsbuildPlugin } from '@rsbuild/core'; | ||
type Globals = { | ||
@@ -7,3 +6,3 @@ process?: boolean; | ||
}; | ||
type PluginNodePolyfillOptions = { | ||
export type PluginNodePolyfillOptions = { | ||
/** | ||
@@ -25,5 +24,4 @@ * Whether to provide polyfill of globals. | ||
}; | ||
declare const PLUGIN_NODE_POLYFILL_NAME = "rsbuild:node-polyfill"; | ||
declare function pluginNodePolyfill(options?: PluginNodePolyfillOptions): RsbuildPlugin; | ||
export { PLUGIN_NODE_POLYFILL_NAME, type PluginNodePolyfillOptions, pluginNodePolyfill }; | ||
export declare const PLUGIN_NODE_POLYFILL_NAME = "rsbuild:node-polyfill"; | ||
export declare function pluginNodePolyfill(options?: PluginNodePolyfillOptions): RsbuildPlugin; | ||
export {}; |
@@ -21,7 +21,7 @@ import { createRequire } from 'module'; | ||
// ../../node_modules/.pnpm/@modern-js+module-tools@2.52.0_eslint@9.5.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js | ||
// ../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js | ||
import { fileURLToPath } from "url"; | ||
import path from "path"; | ||
var init_esm = __esm({ | ||
"../../node_modules/.pnpm/@modern-js+module-tools@2.52.0_eslint@9.5.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js"() { | ||
"../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() { | ||
"use strict"; | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "@rsbuild/plugin-node-polyfill", | ||
"version": "0.7.10", | ||
"version": "1.0.0-alpha.0", | ||
"description": "Node polyfill plugin for Rsbuild", | ||
@@ -51,7 +51,7 @@ "homepage": "https://rsbuild.dev", | ||
"devDependencies": { | ||
"typescript": "^5.4.2", | ||
"@rsbuild/core": "0.7.10" | ||
"typescript": "^5.5.2", | ||
"@rsbuild/core": "1.0.0-alpha.0" | ||
}, | ||
"peerDependencies": { | ||
"@rsbuild/core": "^0.7.10" | ||
"@rsbuild/core": "^1.0.0-alpha.0" | ||
}, | ||
@@ -58,0 +58,0 @@ "publishConfig": { |
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
19051
8
460