@nx/rspack 0.0.0-pr-29464-ef5660f → 0.0.0-pr-3-4fa8cf8
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/package.json +5 -5
- package/src/plugins/plugin.js +3 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rspack",
|
|
3
3
|
"description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
|
|
4
|
-
"version": "0.0.0-pr-
|
|
4
|
+
"version": "0.0.0-pr-3-4fa8cf8",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"generators": "./generators.json",
|
|
25
25
|
"executors": "./executors.json",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nx/js": "0.0.0-pr-
|
|
28
|
-
"@nx/devkit": "0.0.0-pr-
|
|
29
|
-
"@nx/web": "0.0.0-pr-
|
|
30
|
-
"@nx/module-federation": "0.0.0-pr-
|
|
27
|
+
"@nx/js": "0.0.0-pr-3-4fa8cf8",
|
|
28
|
+
"@nx/devkit": "0.0.0-pr-3-4fa8cf8",
|
|
29
|
+
"@nx/web": "0.0.0-pr-3-4fa8cf8",
|
|
30
|
+
"@nx/module-federation": "0.0.0-pr-3-4fa8cf8",
|
|
31
31
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
32
32
|
"@rspack/core": "^1.1.5",
|
|
33
33
|
"@rspack/dev-server": "^1.0.9",
|
package/src/plugins/plugin.js
CHANGED
|
@@ -130,6 +130,7 @@ async function createRspackTargets(configFilePath, projectRoot, options, context
|
|
|
130
130
|
outputs,
|
|
131
131
|
};
|
|
132
132
|
targets[options.serveTargetName] = {
|
|
133
|
+
continuous: true,
|
|
133
134
|
command: `rspack serve`,
|
|
134
135
|
options: {
|
|
135
136
|
cwd: projectRoot,
|
|
@@ -138,6 +139,7 @@ async function createRspackTargets(configFilePath, projectRoot, options, context
|
|
|
138
139
|
},
|
|
139
140
|
};
|
|
140
141
|
targets[options.previewTargetName] = {
|
|
142
|
+
continuous: true,
|
|
141
143
|
command: `rspack serve`,
|
|
142
144
|
options: {
|
|
143
145
|
cwd: projectRoot,
|
|
@@ -146,6 +148,7 @@ async function createRspackTargets(configFilePath, projectRoot, options, context
|
|
|
146
148
|
},
|
|
147
149
|
};
|
|
148
150
|
targets[options.serveStaticTargetName] = {
|
|
151
|
+
continuous: true,
|
|
149
152
|
executor: '@nx/web:file-server',
|
|
150
153
|
options: {
|
|
151
154
|
buildTarget: options.buildTargetName,
|