Adjustment to the request debug view functionality
This commit is contained in:
@@ -16,7 +16,8 @@ function composeScript(target, { bootstrap = true } = {}) {
|
||||
return `// Source: ${file}\n${source}`;
|
||||
});
|
||||
if (target === "content") {
|
||||
const css = fs.readFileSync(path.join(root, "src/content/styles/redwood.css"), "utf8");
|
||||
const css = ["src/content/styles/redwood.css", "src/features/debug/styles.css"]
|
||||
.map(file => fs.readFileSync(path.join(root, file), "utf8")).join("\n");
|
||||
parts.unshift(`const redwoodStyles = ${JSON.stringify(css)};`);
|
||||
}
|
||||
const factory = target === "content" ? "createContentApplication" : "createBackgroundApplication";
|
||||
|
||||
Reference in New Issue
Block a user