console.logs in JS code that are automatically stripped out by esbuild, unless some specific action is performed during the build?
routes from the wrangler.toml and it should leave alone the ones on the dashboard @NeMetS_666 which you can configure thereconsole.logesbuildroutesconst devRetainer = {
name: "devRetainer",
setup(build) {
build.onLoad({ filter: /\.ts$/ }, async (args) => ({
contents: (await readFile(args.path, "utf8")).replace(/(\/\* Debugging Statement Start)|(Debugging Statement End \*\/)/g, ""),
loader: "ts",
}));
},
};