OSDN Git Service
(root)
/
bytom
/
bytom-electron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c4bba
)
remove unnecessary dll dependencies
author
Yongfeng LI
<wliyongfeng@gmail.com>
Sun, 8 Apr 2018 06:47:53 +0000
(14:47 +0800)
committer
Yongfeng LI
<wliyongfeng@gmail.com>
Sun, 8 Apr 2018 06:47:53 +0000
(14:47 +0800)
webpack/webpack.dll.js
patch
|
blob
|
history
diff --git
a/webpack/webpack.dll.js
b/webpack/webpack.dll.js
index
ef55227
..
afe2d84
100644
(file)
--- a/
webpack/webpack.dll.js
+++ b/
webpack/webpack.dll.js
@@
-18,9
+18,11
@@
const pkg = require(join(process.cwd(), 'package.json'))
const outputPath = join(process.cwd(), 'node_modules/dashboard-dlls')
+const dllException = ['log4js', 'electron-settings', 'glob']
+
const config = require('./webpack.base')({
context: process.cwd(),
- entry: {dependencies: Object.keys(pkg.dependencies)},
+ entry: {dependencies: Object.keys(pkg.dependencies)
.filter(dependency => !dllException.includes(dependency))
},
devtool: 'eval',
output: {
filename: '[name].dll.js',