Skip to content

Commit

Permalink
[#17] install turning markdown into HTML modules
Browse files Browse the repository at this point in the history
  • Loading branch information
hanseulhee committed Jun 16, 2022
1 parent 8543a42 commit cda9bbb
Show file tree
Hide file tree
Showing 4 changed files with 2,463 additions and 80 deletions.
15 changes: 13 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
};
}

module.exports = nextConfig;
module.exports = [
nextConfig,
{
webpack: (config) => {
config.module.rules.push({
test: /\.md$/,
use: 'raw-loader',
})
return config
},
},
]
Loading

0 comments on commit cda9bbb

Please sign in to comment.