File tree 1 file changed +0
-16
lines changed 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 3
3
4
4
const fs = require ( 'fs' )
5
5
const frontmatter = require ( 'gray-matter' )
6
- // const CopyWebpackPlugin = require('copy-webpack-plugin')
7
6
const path = require ( 'path' )
8
7
const homepage = path . posix . join ( process . cwd ( ) , 'content/index.md' )
9
8
const { data } = frontmatter ( fs . readFileSync ( homepage , 'utf8' ) )
10
9
const productIds = data . children
11
10
12
11
module . 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
- // },
28
12
// speed up production `next build` by ignoring typechecking during that step of build.
29
13
// type-checking still occurs in the Dockerfile build
30
14
typescript : {
You can’t perform that action at this time.
0 commit comments