-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
35 lines (30 loc) · 894 Bytes
/
next.config.js
File metadata and controls
35 lines (30 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer')
module.exports = {
// webpack: (config, { dev }) => {
// // Perform customizations to config
// config.plugins.push(
// new BundleAnalyzerPlugin({
// analyzerMode: 'disabled',
// // For all options see https://github.com/th0r/webpack-bundle-analyzer#as-plugin
// generateStatsFile: true,
// // Will be available at `.next/stats.json`
// statsFilename: 'stats.json'
// })
// )
// return config
// }
privateRuntimeConfig: {
// Will be available on both server and client
// staticFolder: '/static',
baseURL: process.env.BASE_URL
},
trailingSlash: true,
// async rewrites() {
// return [
// {
// source: '/categories/:categoryId',
// destination: '/categories/:categoryId'
// },
// ]
// },
}