// What's all this? // When preparing your app for production, Astro needs to be built first. // Astro builds with the index file pointing to the wrong path for CSS, as it's using "/_astro/" instead of "./_astro/", that one dot is important. // This file will quickly fix that for you, also it's part of the `yarn build` command so you don't need to worry about it each time you build. var replace = require("replace"); replace({ regex: "/_astro/", replacement: "./_astro/", paths: ['./app/index.html'], recursive: true, silent: true, });