bumps @meteorjs/rspack to version 0.0.38

This commit is contained in:
Nacho Codoñer
2025-09-04 11:56:44 +02:00
parent d919bd1de5
commit c575cd7843
15 changed files with 27 additions and 25 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@meteorjs/rspack",
"version": "0.0.37",
"version": "0.0.38",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@meteorjs/rspack",
"version": "0.0.37",
"version": "0.0.38",
"license": "ISC",
"dependencies": {
"ignore-loader": "^0.1.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@meteorjs/rspack",
"version": "0.0.37",
"version": "0.0.38",
"description": "Configuration logic for using Rspack in Meteor projects",
"main": "index.js",
"type": "module",

View File

@@ -120,6 +120,7 @@ export default function (inMeteor = {}, argv = {}) {
const isClient = !!Meteor.isClient;
const isServer = !!Meteor.isServer;
const isRun = !!Meteor.isRun;
const isBuild = !!Meteor.isBuild;
const isReactEnabled = !!Meteor.isReactEnabled;
const isTestModule = !!Meteor.isTestModule;
const isTestEager = !!Meteor.isTestEager;
@@ -263,6 +264,14 @@ export default function (inMeteor = {}, argv = {}) {
}),
]
: [];
const bannerPluginConfig = !isBuild
? [
new BannerPlugin({
banner: bannerOutput,
entryOnly: true,
}),
]
: [];
const clientNameConfig = `[${(isTest && 'test-') || ''}${
(isTestModule && 'module') || 'client'
@@ -324,10 +333,7 @@ export default function (inMeteor = {}, argv = {}) {
'Meteor.isDevelopment': JSON.stringify(isDev),
'Meteor.isProduction': JSON.stringify(isProd),
}),
new BannerPlugin({
banner: bannerOutput,
entryOnly: true,
}),
...bannerPluginConfig,
Meteor.HtmlRspackPlugin(),
...doctorPluginConfig,
],
@@ -390,7 +396,6 @@ export default function (inMeteor = {}, argv = {}) {
},
externals,
plugins: [
requireExternalsPlugin,
new DefinePlugin(
isTest && (isTestModule || isTestEager)
? {
@@ -407,11 +412,8 @@ export default function (inMeteor = {}, argv = {}) {
'Meteor.isProduction': JSON.stringify(isProd),
},
),
new BannerPlugin({
banner: bannerOutput,
entryOnly: true,
}),
isTestModule && requireExternalsPlugin,
...bannerPluginConfig,
requireExternalsPlugin,
...doctorPluginConfig,
],
watchOptions,

View File

@@ -5,7 +5,7 @@
export const DEFAULT_RSPACK_VERSION = '1.5.0';
export const DEFAULT_METEOR_RSPACK_VERSION = '0.0.37';
export const DEFAULT_METEOR_RSPACK_VERSION = '0.0.38';
export const DEFAULT_METEOR_RSPACK_REACT_HMR_VERSION = '1.4.3';

View File

@@ -17,7 +17,7 @@
"vue-router": "^4.2.5"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rspack/cli": "^1.4.8",
"@rspack/core": "^1.4.8",
"@tailwindcss/postcss": "^4.1.12",

View File

@@ -20,7 +20,7 @@
"devDependencies": {
"@graphql-tools/webpack-loader": "^7.0.0",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",
"@rspack/plugin-react-refresh": "^1.4.3",

View File

@@ -14,7 +14,7 @@
"meteor-node-stubs": "^1.2.12"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -21,7 +21,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -12,7 +12,7 @@
"meteor-node-stubs": "^1.2.12"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -15,7 +15,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -14,7 +14,7 @@
"picocolors": "^1.1.1"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -13,7 +13,7 @@
"meteor-node-stubs": "^1.2.12"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -16,7 +16,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -15,7 +15,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",

View File

@@ -17,7 +17,7 @@
"vue-router": "^4.2.5"
},
"devDependencies": {
"@meteorjs/rspack": "^0.0.37",
"@meteorjs/rspack": "^0.0.38",
"@rsdoctor/rspack-plugin": "^1.2.3",
"@rspack/cli": "^1.5.0",
"@rspack/core": "^1.5.0",