mirror of https://github.com/garritfra/garrit.xyz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
423 B
20 lines
423 B
const path = require("path"); |
|
|
|
const isProd = process.env.NODE_ENV === 'production' |
|
|
|
module.exports = { |
|
experimental: { |
|
outputStandalone: true, |
|
}, |
|
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; |
|
}, |
|
};
|
|
|