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.
18 lines
372 B
18 lines
372 B
3 years ago
|
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;
|
||
|
},
|
||
|
};
|