@rspack/core 0.7.2-canary-0aba80f-20240612004429 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export type { EmotionOptions } from "./emotion";
|
|
2
2
|
export { resolveEmotion } from "./emotion";
|
|
3
|
-
export { resolvePluginImport } from "./pluginImport";
|
|
4
3
|
export type { PluginImportOptions } from "./pluginImport";
|
|
4
|
+
export { resolvePluginImport } from "./pluginImport";
|
|
5
5
|
export type { ReactOptions } from "./react";
|
|
6
6
|
export { resolveReact } from "./react";
|
|
7
|
-
export { resolvePreact } from "./preact";
|
|
8
|
-
export type { PreactOptions } from "./preact";
|
|
9
7
|
export type { RelayOptions } from "./relay";
|
|
10
8
|
export { resolveRelay } from "./relay";
|
|
11
9
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./types";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRelay = exports.
|
|
3
|
+
exports.resolveRelay = exports.resolveReact = exports.resolvePluginImport = exports.resolveEmotion = void 0;
|
|
4
4
|
var emotion_1 = require("./emotion");
|
|
5
5
|
Object.defineProperty(exports, "resolveEmotion", { enumerable: true, get: function () { return emotion_1.resolveEmotion; } });
|
|
6
6
|
var pluginImport_1 = require("./pluginImport");
|
|
7
7
|
Object.defineProperty(exports, "resolvePluginImport", { enumerable: true, get: function () { return pluginImport_1.resolvePluginImport; } });
|
|
8
8
|
var react_1 = require("./react");
|
|
9
9
|
Object.defineProperty(exports, "resolveReact", { enumerable: true, get: function () { return react_1.resolveReact; } });
|
|
10
|
-
var preact_1 = require("./preact");
|
|
11
|
-
Object.defineProperty(exports, "resolvePreact", { enumerable: true, get: function () { return preact_1.resolvePreact; } });
|
|
12
10
|
var relay_1 = require("./relay");
|
|
13
11
|
Object.defineProperty(exports, "resolveRelay", { enumerable: true, get: function () { return relay_1.resolveRelay; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "0.7.2
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A Fast Rust-based Web Bundler",
|
|
@@ -72,15 +72,15 @@
|
|
|
72
72
|
"watchpack": "^2.4.0",
|
|
73
73
|
"zod": "^3.21.4",
|
|
74
74
|
"zod-validation-error": "1.3.1",
|
|
75
|
-
"@rspack/
|
|
76
|
-
"@rspack/
|
|
75
|
+
"@rspack/core": "0.7.2",
|
|
76
|
+
"@rspack/plugin-minify": "^0.7.2"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@module-federation/runtime-tools": "0.1.6",
|
|
80
80
|
"caniuse-lite": "^1.0.30001616",
|
|
81
81
|
"tapable": "2.2.1",
|
|
82
82
|
"webpack-sources": "3.2.3",
|
|
83
|
-
"@rspack/binding": "0.7.2
|
|
83
|
+
"@rspack/binding": "0.7.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@swc/helpers": ">=0.5.1"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolvePreact = void 0;
|
|
4
|
-
function resolvePreact(preact) {
|
|
5
|
-
if (typeof preact === "object") {
|
|
6
|
-
return preact;
|
|
7
|
-
}
|
|
8
|
-
else if (preact === true) {
|
|
9
|
-
return {};
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
return undefined;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.resolvePreact = resolvePreact;
|