Skip to content

Commit

Permalink
unoptimised images export
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed Mar 20, 2024
1 parent 17b414b commit 5aa81ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.next
node_modules
out/
7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ const withNextra = require('nextra')({
themeConfig: './theme.config.tsx',
})

module.exports = withNextra()
module.exports = {
...withNextra(),
images: {
unoptimized: true,
},
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
"start": "next start",
"export": "next build && next export"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5aa81ee

Please sign in to comment.