@rsbuild/plugin-solid 0.3.10 → 0.4.0
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.
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -34,13 +34,11 @@ __export(src_exports, {
|
|
|
34
34
|
pluginSolid: () => pluginSolid
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(src_exports);
|
|
37
|
-
var import_core = require("@rsbuild/core");
|
|
38
37
|
var import_plugin_babel = require("@rsbuild/plugin-babel");
|
|
39
38
|
var PLUGIN_SOLID_NAME = "rsbuild:solid";
|
|
40
39
|
function pluginSolid(options = {}) {
|
|
41
40
|
return {
|
|
42
41
|
name: PLUGIN_SOLID_NAME,
|
|
43
|
-
pre: [import_core.PLUGIN_BABEL_NAME],
|
|
44
42
|
setup(api) {
|
|
45
43
|
api.modifyBundlerChain(async (chain, { CHAIN_ID, isDev }) => {
|
|
46
44
|
const rsbuildConfig = api.getNormalizedConfig();
|
package/dist/index.mjs
CHANGED
|
@@ -14,13 +14,11 @@ import { fileURLToPath } from "url";
|
|
|
14
14
|
import path from "path";
|
|
15
15
|
|
|
16
16
|
// src/index.ts
|
|
17
|
-
import { PLUGIN_BABEL_NAME } from "@rsbuild/core";
|
|
18
17
|
import { modifyBabelLoaderOptions } from "@rsbuild/plugin-babel";
|
|
19
18
|
var PLUGIN_SOLID_NAME = "rsbuild:solid";
|
|
20
19
|
function pluginSolid(options = {}) {
|
|
21
20
|
return {
|
|
22
21
|
name: PLUGIN_SOLID_NAME,
|
|
23
|
-
pre: [PLUGIN_BABEL_NAME],
|
|
24
22
|
setup(api) {
|
|
25
23
|
api.modifyBundlerChain(async (chain, { CHAIN_ID, isDev }) => {
|
|
26
24
|
const rsbuildConfig = api.getNormalizedConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Solid plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"babel-preset-solid": "^1.8.6",
|
|
27
|
-
"solid-refresh": "^0.
|
|
28
|
-
"@rsbuild/plugin-babel": "0.
|
|
29
|
-
"@rsbuild/shared": "0.
|
|
27
|
+
"solid-refresh": "^0.7.0",
|
|
28
|
+
"@rsbuild/plugin-babel": "0.4.0",
|
|
29
|
+
"@rsbuild/shared": "0.4.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/babel__core": "^7.20.3",
|
|
33
33
|
"typescript": "^5.3.0",
|
|
34
|
-
"@rsbuild/core": "0.
|
|
35
|
-
"@scripts/test-helper": "0.
|
|
34
|
+
"@rsbuild/core": "0.4.0",
|
|
35
|
+
"@scripts/test-helper": "0.4.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@rsbuild/core": "^0.
|
|
38
|
+
"@rsbuild/core": "^0.4.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public",
|