Skip to content

Commit

Permalink
changed webpack config back to original
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraude authored and Rokt33r committed Nov 21, 2019
1 parent edebba6 commit 489fc65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions webpack-production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ const NodeTargetPlugin = require('webpack/lib/node/NodeTargetPlugin')
var config = Object.assign({}, skeleton, {
module: {
loaders: [
{
test: /pdf(\.worker)?(\.min)?\.js\.map$/,
loader: 'raw-loader'
},
{
test: /(\.js|\.jsx)?$/,
exclude: [/(node_modules|bower_components)/, /pdf(\.worker)?(\.min)?\.js\.map$/],
exclude: /(node_modules|bower_components)/,
loader: 'babel'
},
{
Expand Down
1 change: 0 additions & 1 deletion webpack-skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var config = {
]
},
externals: [
'pdf-js',
'prettier',
'node-ipc',
'electron',
Expand Down

0 comments on commit 489fc65

Please sign in to comment.