@meteorjs/rspack 0.0.35 → 0.0.37

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.
@@ -271,7 +271,7 @@ export function mergeSplitOverlap(...configs) {
271
271
  if (key === 'plugins') {
272
272
  return unique(
273
273
  'plugins',
274
- ['HtmlRspackPlugin'],
274
+ ['HtmlRspackPlugin', 'RsdoctorRspackPlugin'],
275
275
  (plugin) => plugin.constructor && plugin.constructor.name
276
276
  )(a, b, key);
277
277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meteorjs/rspack",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "Configuration logic for using Rspack in Meteor projects",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/rspack.config.js CHANGED
@@ -147,7 +147,7 @@ export default function (inMeteor = {}, argv = {}) {
147
147
  const runPath = Meteor.runPath;
148
148
 
149
149
  // Determine banner
150
- const bannerOutput = JSON.parse(Meteor.bannerOutput || '');
150
+ const bannerOutput = JSON.parse(Meteor.bannerOutput || process.env.RSPACK_BANNER || '');
151
151
 
152
152
  // Determine output directories
153
153
  const clientOutputDir = path.resolve(process.cwd(), 'public');