File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 33
44const fs = require ( 'fs' )
55const frontmatter = require ( 'gray-matter' )
6- // const CopyWebpackPlugin = require('copy-webpack-plugin')
76const path = require ( 'path' )
87const homepage = path . posix . join ( process . cwd ( ) , 'content/index.md' )
98const { data } = frontmatter ( fs . readFileSync ( homepage , 'utf8' ) )
109const productIds = data . children
1110
1211module . exports = {
13- // webpack: (config, { isServer }) => {
14- // if (isServer) {
15- // config.plugins.push(
16- // new CopyWebpackPlugin({
17- // patterns: [
18- // {
19- // from: path.join(__dirname, 'node_modules/@primer/css/fonts'),
20- // to: path.join(__dirname, 'assets/fonts/inter'),
21- // },
22- // ],
23- // })
24- // )
25- // }
26- // return config
27- // },
2812 // speed up production `next build` by ignoring typechecking during that step of build.
2913 // type-checking still occurs in the Dockerfile build
3014 typescript : {
You can’t perform that action at this time.
0 commit comments