From f1f25f4764dd8d297a59765b0df85f55da2b39ee Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Mon, 19 Jul 2021 21:08:50 -0500 Subject: Init --- next.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 next.config.js (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..023ecb8 --- /dev/null +++ b/next.config.js @@ -0,0 +1,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')] + } + }; +} \ No newline at end of file -- cgit v1.2.3