aboutsummaryrefslogtreecommitdiff
path: root/next.config.js
blob: 023ecb8a0c4a2d32030a373e99306d97cad27634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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')]
        }
    };
}