From 489fc6578b2bd515df8be5f93d9e39902d04112f Mon Sep 17 00:00:00 2001 From: Itai Braude Date: Tue, 22 Oct 2019 01:03:52 +0300 Subject: [PATCH] changed webpack config back to original --- webpack-production.config.js | 6 +----- webpack-skeleton.js | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/webpack-production.config.js b/webpack-production.config.js index 263d9a836..bcfb2a429 100644 --- a/webpack-production.config.js +++ b/webpack-production.config.js @@ -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' }, { diff --git a/webpack-skeleton.js b/webpack-skeleton.js index b0bc36081..e4cc20fea 100644 --- a/webpack-skeleton.js +++ b/webpack-skeleton.js @@ -30,7 +30,6 @@ var config = { ] }, externals: [ - 'pdf-js', 'prettier', 'node-ipc', 'electron',