Skip to content

Commit

Permalink
Bump packages (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Dec 21, 2020
1 parent 5dbd220 commit 3f19df0
Show file tree
Hide file tree
Showing 3 changed files with 3,889 additions and 10,837 deletions.
8 changes: 1 addition & 7 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path')

const withWorkers = require('@zeit/next-workers')
const withTM = require('next-transpile-modules')(['pdfjs-dist/lib'])
const withTM = require('next-transpile-modules')(['pdfjs-dist'])

const csp = require('./csp.config')
const helpers = require('./utils/helpers')
Expand Down Expand Up @@ -93,12 +93,6 @@ const nextConfig = {
'react-dom': path.join(__dirname, 'node_modules', 'react-dom'),
})

config.module.rules.push({
test: /\.js$/,
use: ['source-map-loader'],
enforce: 'pre',
})

// TODO: Remove once https://github.com/zeit/next-plugins/blob/master/packages/next-workers/index.js#L20 is released
config.output.globalObject = 'self'
return config
Expand Down
Loading

1 comment on commit 3f19df0

@vercel
Copy link

@vercel vercel bot commented on 3f19df0 Dec 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.