Remove @zeit/next-bundle-analyzer.

This commit is contained in:
Jayden Seric 2019-06-11 10:48:49 +10:00
parent a28af0eb40
commit 55a1a2357c
4 changed files with 154 additions and 531 deletions

View File

@ -1,4 +1,3 @@
NODE_ENV='development'
PORT=3000
API_URI='http://localhost:3001/graphql'
BUNDLE_ANALYZE=false

View File

@ -1,18 +0,0 @@
/* eslint-disable import/unambiguous */
const withBundleAnalyzer = require('@zeit/next-bundle-analyzer')
module.exports = withBundleAnalyzer({
analyzeServer: ['server', 'both'].includes(process.env.BUNDLE_ANALYZE),
analyzeBrowser: ['browser', 'both'].includes(process.env.BUNDLE_ANALYZE),
bundleAnalyzerConfig: {
server: {
analyzerMode: 'static',
reportFilename: 'bundle-analysis-server.html'
},
browser: {
analyzerMode: 'static',
reportFilename: 'bundle-analysis-browser.html'
}
}
})

665
app/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,6 @@
},
"browserslist": "> 0.5%, not dead, node 8.6",
"dependencies": {
"@zeit/next-bundle-analyzer": "^0.1.2",
"apollo-cache-inmemory": "^1.6.2",
"apollo-client": "^2.6.2",
"apollo-link": "^1.2.11",