aboutsummaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-19 21:08:50 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-19 21:08:50 -0500
commitf1f25f4764dd8d297a59765b0df85f55da2b39ee (patch)
tree9c10f3fcde264a1b13dccc64b9037f46d9bbc121 /next.config.js
downloadhomepage-f1f25f4764dd8d297a59765b0df85f55da2b39ee.tar.xz
homepage-f1f25f4764dd8d297a59765b0df85f55da2b39ee.zip
Init
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js19
1 files changed, 19 insertions, 0 deletions
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