1
0
mirror of synced 2025-12-19 18:10:59 -05:00

comment -> delete

This commit is contained in:
Ramya Parimi
2021-08-05 20:16:39 -05:00
parent 306751cd62
commit 57a4c804bf

View File

@@ -3,28 +3,12 @@
const fs = require('fs')
const frontmatter = require('gray-matter')
// const CopyWebpackPlugin = require('copy-webpack-plugin')
const path = require('path')
const homepage = path.posix.join(process.cwd(), 'content/index.md')
const { data } = frontmatter(fs.readFileSync(homepage, 'utf8'))
const productIds = data.children
module.exports = {
// webpack: (config, { isServer }) => {
// if (isServer) {
// config.plugins.push(
// new CopyWebpackPlugin({
// patterns: [
// {
// from: path.join(__dirname, 'node_modules/@primer/css/fonts'),
// to: path.join(__dirname, 'assets/fonts/inter'),
// },
// ],
// })
// )
// }
// return config
// },
// speed up production `next build` by ignoring typechecking during that step of build.
// type-checking still occurs in the Dockerfile build
typescript: {