Merge branch 'main' into next
This commit is contained in:
commit
80f2578b1d
71 files changed
+1273
-575
No files matched your search
@@ -635,17 +635,6 @@ const nodejsFiles = [
|
||||
external: ["benchmark"],
|
||||
replaceModule: [replaceDiffPackageEntry("lib/patch/create.js")],
|
||||
},
|
||||
{
|
||||
input: "src/common/mockable.js",
|
||||
outputBaseName: "internal/internal",
|
||||
replaceModule: [
|
||||
{
|
||||
module: require.resolve("lilconfig"),
|
||||
find: "exports.lilconfigSync = lilconfigSync;",
|
||||
replacement: "",
|
||||
},
|
||||
],
|
||||
},
|
||||
].flatMap((file) => {
|
||||
let { input, output, outputBaseName, ...buildOptions } = file;
|
||||
|
||||
|
||||
@@ -198,6 +198,13 @@ function modifyTypescriptModule(text) {
|
||||
}
|
||||
}
|
||||
|
||||
// server
|
||||
for (const module of source.modules) {
|
||||
if (module.path.startsWith("src/server/")) {
|
||||
source.removeModule(module);
|
||||
}
|
||||
}
|
||||
|
||||
// `transformers`
|
||||
source.removeModule("src/compiler/transformer.ts");
|
||||
for (const module of source.modules) {
|
||||
@@ -268,6 +275,9 @@ function modifyTypescriptModule(text) {
|
||||
`,
|
||||
);
|
||||
|
||||
// `pnp`
|
||||
source.removeModule("src/compiler/pnp.ts");
|
||||
|
||||
/* spell-checker: disable */
|
||||
// `ts.createParenthesizerRules`
|
||||
source.replaceAlignedCode({
|
||||
|
||||
Reference in new issue
Block a user