@rspack/plugin-react-refresh
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5
@@ -5,3 +5,3 @@ "use strict"; | ||
}; | ||
const path_1 = __importDefault(require("path")); | ||
const node_path_1 = __importDefault(require("node:path")); | ||
const options_1 = require("./options"); | ||
@@ -13,3 +13,3 @@ const getAdditionalEntries_1 = require("./utils/getAdditionalEntries"); | ||
const refreshUtilsPath = require.resolve("../client/refreshUtils.js"); | ||
const refreshRuntimeDirPath = path_1.default.dirname(require.resolve("react-refresh", { | ||
const refreshRuntimeDirPath = node_path_1.default.dirname(require.resolve("react-refresh", { | ||
paths: [reactRefreshPath] | ||
@@ -91,3 +91,3 @@ })); | ||
new compiler.webpack.ProvidePlugin(providedModules).apply(compiler); | ||
const refreshPath = path_1.default.dirname(require.resolve("react-refresh")); | ||
const refreshPath = node_path_1.default.dirname(require.resolve("react-refresh")); | ||
compiler.options.resolve.alias = { | ||
@@ -94,0 +94,0 @@ "react-refresh": refreshPath, |
{ | ||
"name": "@rspack/plugin-react-refresh", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.5", | ||
"license": "MIT", | ||
@@ -33,4 +33,4 @@ "description": "React refresh plugin for rspack", | ||
"react-refresh": "0.14.0", | ||
"@rspack/core": "1.0.0-alpha.4", | ||
"@rspack/plugin-react-refresh": "1.0.0-alpha.4" | ||
"@rspack/core": "1.0.0-alpha.5", | ||
"@rspack/plugin-react-refresh": "1.0.0-alpha.5" | ||
}, | ||
@@ -37,0 +37,0 @@ "dependencies": { |
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
79112