Skip to content

Commit 3f19df0

Browse files
authored
Bump packages (#318)
1 parent 5dbd220 commit 3f19df0

File tree

3 files changed

+3889
-10837
lines changed

3 files changed

+3889
-10837
lines changed

next.config.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path')
22

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

66
const csp = require('./csp.config')
77
const helpers = require('./utils/helpers')
@@ -93,12 +93,6 @@ const nextConfig = {
9393
'react-dom': path.join(__dirname, 'node_modules', 'react-dom'),
9494
})
9595

96-
config.module.rules.push({
97-
test: /\.js$/,
98-
use: ['source-map-loader'],
99-
enforce: 'pre',
100-
})
101-
10296
// TODO: Remove once https://github.com/zeit/next-plugins/blob/master/packages/next-workers/index.js#L20 is released
10397
config.output.globalObject = 'self'
10498
return config

0 commit comments

Comments
 (0)