Skip to content

Commit

Permalink
Remove the bundle analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kmjennison committed Jan 17, 2020
1 parent a940ed0 commit c6de50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
@@ -1,10 +1,6 @@
require('./env.js')

const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE_BUNDLE === 'true',
})

const nextConfig = {
module.exports = {
// Public, build-time env vars.
// https://nextjs.org/docs#build-time-configuration
env: {
Expand All @@ -14,5 +10,3 @@ const nextConfig = {
FIREBASE_PUBLIC_API_KEY: process.env.FIREBASE_PUBLIC_API_KEY,
},
}

module.exports = withBundleAnalyzer(nextConfig)
8 changes: 2 additions & 6 deletions examples/with-firebase-authentication-serverless/package.json
Expand Up @@ -4,8 +4,7 @@
"scripts": {
"dev": "NODE_ENV=development next dev",
"build": "NODE_ENV=production next build",
"start": "NODE_ENV=production next start",
"analyze": "cross-env ANALYZE_BUNDLE=true yarn build"
"start": "NODE_ENV=production next start"
},
"dependencies": {
"cookie-session": "1.4.0",
Expand All @@ -20,8 +19,5 @@
"react-dom": "^16.12.0",
"react-firebaseui": "4.0.0"
},
"devDependencies": {
"@next/bundle-analyzer": "9.1.7",
"cross-env": "6.0.3"
}
"devDependencies": {}
}

0 comments on commit c6de50a

Please sign in to comment.