@nuxt/rspack-builder-nightly 4.0.0-29120917.261079c7 → 4.0.0-29121729.9c450603
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/builder.mjs +2 -0
- package/dist/index.mjs +3 -4
- package/package.json +4 -4
package/builder.mjs
CHANGED
|
@@ -5,3 +5,5 @@ export { default as WebpackBarPlugin } from 'webpackbar/rspack'
|
|
|
5
5
|
export const builder = 'rspack'
|
|
6
6
|
export { webpack }
|
|
7
7
|
export const MiniCssExtractPlugin = webpack.CssExtractRspackPlugin
|
|
8
|
+
|
|
9
|
+
export { TsCheckerRspackPlugin as TsCheckerPlugin } from 'ts-checker-rspack-plugin'
|
package/dist/index.mjs
CHANGED
|
@@ -8,11 +8,10 @@ import { joinURL } from 'ufo';
|
|
|
8
8
|
import { logger, importModule, useNitro, useNuxt } from '@nuxt/kit';
|
|
9
9
|
import { createUnplugin } from 'unplugin';
|
|
10
10
|
import MagicString from 'magic-string';
|
|
11
|
-
import { webpack, WebpackBarPlugin, builder, MiniCssExtractPlugin } from '#builder';
|
|
11
|
+
import { webpack, WebpackBarPlugin, builder, MiniCssExtractPlugin, TsCheckerPlugin } from '#builder';
|
|
12
12
|
import { createFsFromVolume, Volume } from 'memfs';
|
|
13
13
|
import querystring from 'node:querystring';
|
|
14
14
|
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
|
|
15
|
-
import ForkTSCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
|
|
16
15
|
import { defineEnv } from 'unenv';
|
|
17
16
|
import TimeFixPlugin from 'time-fix-plugin';
|
|
18
17
|
import FriendlyErrorsWebpackPlugin from '@nuxt/friendly-errors-webpack-plugin';
|
|
@@ -891,7 +890,7 @@ function clientPlugins(ctx) {
|
|
|
891
890
|
}
|
|
892
891
|
if (!ctx.nuxt.options.ssr) {
|
|
893
892
|
if (!ctx.nuxt.options.test && (ctx.nuxt.options.typescript.typeCheck === true || ctx.nuxt.options.typescript.typeCheck === "build" && !ctx.nuxt.options.dev)) {
|
|
894
|
-
ctx.config.plugins.push(new
|
|
893
|
+
ctx.config.plugins.push(new TsCheckerPlugin({
|
|
895
894
|
logger
|
|
896
895
|
}));
|
|
897
896
|
}
|
|
@@ -1001,7 +1000,7 @@ function serverPlugins(ctx) {
|
|
|
1001
1000
|
}));
|
|
1002
1001
|
}
|
|
1003
1002
|
if (!ctx.nuxt.options.test && (ctx.nuxt.options.typescript.typeCheck === true || ctx.nuxt.options.typescript.typeCheck === "build" && !ctx.nuxt.options.dev)) {
|
|
1004
|
-
ctx.config.plugins.push(new
|
|
1003
|
+
ctx.config.plugins.push(new TsCheckerPlugin({
|
|
1005
1004
|
logger
|
|
1006
1005
|
}));
|
|
1007
1006
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/rspack-builder-nightly",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-29121729.9c450603",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@nuxt/friendly-errors-webpack-plugin": "^2.6.0",
|
|
30
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.0.0-
|
|
30
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.0.0-29121729.9c450603",
|
|
31
31
|
"@rspack/core": "^1.3.9",
|
|
32
32
|
"autoprefixer": "^10.4.21",
|
|
33
33
|
"css-loader": "^7.1.2",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"esbuild-loader": "^4.3.0",
|
|
38
38
|
"escape-string-regexp": "^5.0.0",
|
|
39
39
|
"file-loader": "^6.2.0",
|
|
40
|
-
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
41
40
|
"h3": "^1.15.3",
|
|
42
41
|
"jiti": "^2.4.2",
|
|
43
42
|
"knitwork": "^1.2.0",
|
|
@@ -55,6 +54,7 @@
|
|
|
55
54
|
"std-env": "^3.9.0",
|
|
56
55
|
"time-fix-plugin": "^2.0.7",
|
|
57
56
|
"tinyglobby": "^0.2.13",
|
|
57
|
+
"ts-checker-rspack-plugin": "^1.1.1",
|
|
58
58
|
"ufo": "^1.6.1",
|
|
59
59
|
"unenv": "^2.0.0-rc.15",
|
|
60
60
|
"unplugin": "^2.3.3",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"webpackbar": "^7.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-
|
|
70
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-29121729.9c450603",
|
|
71
71
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
72
72
|
"@types/webpack-hot-middleware": "2.25.9",
|
|
73
73
|
"rollup": "4.40.2",
|