Rocky_Mountain_Vending/.pnpm-store/v10/files/b5/3aec8021979199b27db41ad0e6d00d4051e16b4817df79754564a8e50894ba0bc0d5cce23102e238abe62b6b39c38dac86a67ddffe442b92cdb43fe903ea33
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

32 lines
977 B
Text

module.exports =
({ enabled = true, logLevel, openAnalyzer, analyzerMode } = {}) =>
(nextConfig = {}) => {
if (!enabled) {
return nextConfig
}
const extension = analyzerMode === 'json' ? '.json' : '.html'
return Object.assign({}, nextConfig, {
webpack(config, options) {
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer')
config.plugins.push(
new BundleAnalyzerPlugin({
analyzerMode: analyzerMode || 'static',
logLevel,
openAnalyzer,
reportFilename: !options.nextRuntime
? `./analyze/client${extension}`
: `../${options.nextRuntime === 'nodejs' ? '../' : ''}analyze/${
options.nextRuntime
}${extension}`,
})
)
if (typeof nextConfig.webpack === 'function') {
return nextConfig.webpack(config, options)
}
return config
},
})
}