summaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-11 21:27:17 +0200
committerGitHub <[email protected]>2021-10-11 21:27:17 +0200
commit58b7030d45370072dee25214748670d6413343a9 (patch)
tree9632df7273415f4b197413c45ad11563af32d53a /next.config.js
parent89be3b67b2d10d35d72b5c54e1e166beeeef3095 (diff)
parent6e3dcf585c35620c6804f3c208e6882c29dfc17e (diff)
Merge pull request #101 from org-roam/sidebar
feat: Add file preview functionality
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js
index d6d2e0e..7fa2ae2 100644
--- a/next.config.js
+++ b/next.config.js
@@ -7,4 +7,8 @@ const withTM = require('next-transpile-modules')(d3packages)
module.exports = withPlugins([withTM], {
distDir: 'build',
+ images: {
+ domains: ['localhost'],
+ loader: 'custom',
+ },
})