mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-12 17:26:17 +00:00
changed webpack config back to original
This commit is contained in:
committed by
Junyoung Choi
parent
edebba6680
commit
489fc6578b
@@ -6,13 +6,9 @@ const NodeTargetPlugin = require('webpack/lib/node/NodeTargetPlugin')
|
|||||||
var config = Object.assign({}, skeleton, {
|
var config = Object.assign({}, skeleton, {
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
|
||||||
test: /pdf(\.worker)?(\.min)?\.js\.map$/,
|
|
||||||
loader: 'raw-loader'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
test: /(\.js|\.jsx)?$/,
|
test: /(\.js|\.jsx)?$/,
|
||||||
exclude: [/(node_modules|bower_components)/, /pdf(\.worker)?(\.min)?\.js\.map$/],
|
exclude: /(node_modules|bower_components)/,
|
||||||
loader: 'babel'
|
loader: 'babel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ var config = {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
'pdf-js',
|
|
||||||
'prettier',
|
'prettier',
|
||||||
'node-ipc',
|
'node-ipc',
|
||||||
'electron',
|
'electron',
|
||||||
|
|||||||
Reference in New Issue
Block a user