blob: 2fa75e0d6bb68d1a1f04606b92a6455818199043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
const path = require('path');
const { withMarkdownLoader } = require('./plugins');
module.exports = () => {
const plugins = [
withMarkdownLoader,
];
const webpackConfig = plugins.reduce((config, withFunc) => withFunc(config), {});
return {
...webpackConfig,
sassOptions: {
includePaths: [path.join(__dirname, 'styles')]
},
env: {
DISPLAY_DOMAIN: process.env.DISPLAY_DOMAIN || 'flu0r1ne.net',
}
};
}
|