We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a8a8b commit aae515cCopy full SHA for aae515c
test/test-app/build.mjs
@@ -6,6 +6,10 @@ import fs from 'fs';
6
7
const spinPlugin = await SpinEsbuildPlugin();
8
9
+// plugin to handle vendor files in node_modules that may not be bundled.
10
+// Instead of generating a real source map for these files, it appends a minimal
11
+// inline source map pointing to an empty source. This avoids errors and ensures
12
+// source maps exist even for unbundled vendor code.
13
let SourceMapPlugin = {
14
name: 'excludeVendorFromSourceMap',
15
setup(build) {
0 commit comments