const path = require("path"); const isProd = process.env.NODE_ENV === 'production' module.exports = { assetPrefix: isProd ? 'https://garrit.xyz' : '', sassOptions: { includePaths: [path.join(__dirname, 'styles')], }, webpack: function (config) { config.module.rules.push({ test: /\.md$/, use: "raw-loader", }); return config; }, };