Compare commits

...

1 Commits

Author SHA1 Message Date
Eric Bailey f6b26b91ce Only apply CDN fix to webpack in prod 2025-01-15 13:33:54 -06:00
+3 -3
View File
@@ -28,11 +28,11 @@ module.exports = async function (env, argv) {
]
if (env.mode === 'development') {
config.plugins.push(new ReactRefreshWebpackPlugin())
} else {
// Support static CDN for chunks
config.output.publicPath = 'auto'
}
// Support static CDN for chunks
config.output.publicPath = 'auto'
if (GENERATE_STATS || OPEN_ANALYZER) {
config.plugins.push(
new BundleAnalyzerPlugin({