Tobias Koppers
1b459d91f5
move externals into chunk with entry
...
fixes #2314
maybe fixes #2066
fixes #2375
fixes #1673
2016-05-05 10:13:50 +02:00
Tobias Koppers
795092fcea
fixed small mistake in array check
2016-04-11 00:38:18 +02:00
Tobias Koppers
996b6c80ae
cache parent checks, check faster array for contain
2016-04-10 23:55:37 +02:00
Tobias Koppers
7a15344eb1
reverted new algorithm for removing modules from parent chunks
2016-04-10 23:38:41 +02:00
Max Kostow
6cbd6997d3
skip commonModules if minChunks===Infinity
2016-04-06 13:51:21 -04:00
Tobias Koppers
2d7a7adade
use index instead of debugId
...
fixed chunk propagation
2016-02-24 23:57:42 +01:00
Tobias Koppers
a867825774
new algorithm for removing modules from parent chunks
...
#1905
2016-02-24 23:23:34 +01:00
Tobias Koppers
b93aacbecf
DedupePlugin cannot be cached
2016-02-09 22:34:10 +01:00
Tobias Koppers
c501b5d5af
fixed #2011
2016-02-08 09:54:13 +01:00
hh9527
1021faf13c
Fix #1983 : Object properties can be mangle now.
...
Use the following config:
```js
{
plugins: [
new webpack.optimize.UglifyJsPlugin({
mangle: {
props: {
regex: /_$/
},
},
}),
]
}
```
2016-02-08 09:52:10 +01:00
Ian Ker-Seymer
d0c6e98dee
Use better error message for when given multiple args for CommonChunksPlugin
2016-01-21 23:01:00 -05:00
Kenny Tran
eebc5ceaf6
Fix no-redeclare in code
2016-01-18 18:57:42 -08:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00
Tobias Koppers
e5c11c721e
Merge branch 'webpack-1'
...
Conflicts:
lib/optimize/CommonsChunkPlugin.js
package.json
2015-11-20 21:35:37 +01:00
Tobias Koppers
181da3c004
fixed another bug with the CommonsChunkPlugin
...
when using multiple commons chunks
other optimization plugins doesn't optimize perfectly
2015-11-20 21:29:32 +01:00
Tobias Koppers
556872b38f
fixed bug in CommonsChunkPlugin
...
when passing passing mixed existing and not existing names
2015-11-20 20:24:06 +01:00
Tobias Koppers
67656b90e2
split uglify-js from loader minimize, better shortcut defaults
2015-11-16 23:11:15 +01:00
Tobias Koppers
5879483eb1
fixed formating
2015-10-31 15:31:10 +01:00
Tobias Koppers
0f0ede8a2c
removed deprecated parameters for plugins
2015-10-28 23:26:52 +01:00
Tobias Koppers
9dffb44c93
Merge branch 'master' into webpack-2
2015-10-28 22:33:11 +01:00
Sanghvi
6c3cd7750c
Fix indentation in uglifyjs change
2015-10-12 18:34:13 -07:00
Sanghvi
d1600176bd
Reset uglify's base54 counters for each file
2015-10-12 16:47:49 -07:00
Tobias Koppers
7934faa181
Merge branch 'master' into webpack-2
...
Conflicts:
.travis.yml
bin/config-optimist.js
package.json
test/TestCases.test.js
2015-08-09 13:32:19 +02:00
Tobias Koppers
6782a1e2bb
Merge pull request #1270 from bhamodi/master
...
Use secure links.
2015-08-08 13:00:43 +02:00
Tobias Koppers
44f919ecc7
Merge branch 'master' into webpack-2
...
Conflicts:
test/statsCases/chunks/expected.txtT
2015-08-08 09:40:35 +02:00
Alberto Leal
4024689e63
Stronger check and override of comments in UglifyJsPlugin options
...
Fixes https://github.com/webpack/webpack/issues/324
2015-07-26 21:26:27 -04:00
Baraa Hamodi
3bcf17dca0
Use secure links.
2015-07-20 15:29:53 -07:00
Tobias Koppers
431a4c791c
Merge branch 'master' into webpack-2
...
Conflicts:
hot/dev-server.js
hot/only-dev-server.js
hot/poll.js
hot/signal.js
lib/ChunkTemplate.js
lib/HotModuleReplacement.runtime.js
lib/HotModuleReplacementPlugin.js
lib/JsonpMainTemplatePlugin.js
lib/MainTemplate.js
lib/NormalModule.js
lib/Parser.js
lib/RecordIdsPlugin.js
lib/WebpackOptionsApply.js
lib/dependencies/RequireEnsureDependency.js
lib/node/OldNodeWatchFileSystem.js
lib/optimize/OccurrenceOrderPlugin.js
package.json
2015-07-17 09:30:37 +02:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Avi Haiat
daff7440a6
feat(app): Fix some obvious lint errors and warnings
2015-07-08 15:52:41 +03:00
Tobias Koppers
8cfeb51c30
refactoring and bug fixes
2015-07-07 00:11:13 +02:00
Tobias Koppers
cf30eeeb0f
Merge branch 'master' into webpack-2
...
Conflicts:
lib/ChunkTemplate.js
lib/Compilation.js
lib/HotModuleReplacement.runtime.js
test/TestCases.test.js
test/statsCases/chunks/expected.txt
test/statsCases/simple-more-info/expected.txt
test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Tobias Koppers
a04ffb9283
added (experimental) NamedModulesPlugin
2015-06-27 22:47:51 +02:00
Tobias Koppers
2245c4acca
Promise based chunk loading API
...
don't flag entry module with `0` id anymore
use extra argument in chunk instead
this allows to require entry points
2015-06-13 11:45:28 +02:00
Kenny Tran
0c663ae3d5
Remove undefined check for MinChunkSizePlugin
2015-05-27 10:10:27 -07:00
Kenny Tran
7a080e6f24
Add argument error handling in optimization plugins
2015-05-27 09:46:47 -07:00
Tobias Koppers
94ba35cb13
Merge branch 'master' into webpack-2
...
Conflicts:
lib/WebpackOptionsApply.js
2015-05-22 00:19:16 +02:00
Kenny Tran
7edffc381d
Small refactor for getting size
...
Currently, map is being called to extract sizes then reduce is called on that; so 2 iterations through the array. It is possible to solve this with only reduce: 1 iteration. reallyUsedModules probably won't ever be big enough for this to matter, so it comes down to readability.
I think doing a once-and-done reduce could be an improvement here. What do you guys think?
2015-05-21 12:39:08 -07:00
Tobias Koppers
ff7848369a
Merge branch 'master' into webpack-2
...
Conflicts:
bin/webpack.js
package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers
1679218f80
fixed CommonsChunkPlugin
...
and added two explict vendor chunks example
2015-04-29 12:46:00 +02:00
Tobias Koppers
f4b9d5f57a
Merge branch 'master' into webpack-2
...
Conflicts:
lib/Compilation.js
lib/Compiler.js
lib/DefinePlugin.js
lib/HotModuleReplacementPlugin.js
lib/Parser.js
lib/node/NodeSourcePlugin.js
lib/node/OldNodeWatchFileSystem.js
package.json
2015-04-27 20:22:13 +02:00
Tobias Koppers
84b34151da
emit an error when using the CommonChunksPlugin wrongly
...
#946
2015-04-26 22:47:47 +02:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
962dddf966
fixed another issue with deduplication
2015-04-21 23:26:20 +02:00
Tobias Koppers
9c26ffe6a8
Merge branch 'master' into webpack-2
...
Conflicts:
lib/Stats.js
2015-04-20 21:08:42 +02:00
Tobias Koppers
8d350b69a6
Merge pull request #984 from faller/patch-1
...
fix length judgment in MinChunkSizePlugin
2015-04-20 19:51:22 +02:00
Tobias Koppers
3419ddcb29
use dedupe plugin later in compilation
...
fixed webpack/style-loader#54
2015-04-20 19:39:02 +02:00
faller
d8a495c357
fix length judgment in MinChunkSizePlugin
...
combinations.length may become 0 after filter
2015-04-16 15:05:20 +08:00
Tobias Koppers
ed75627f06
Merge branch 'master' into webpack-2
...
Conflicts:
bin/convert-argv.js
package.json
2015-04-14 20:09:29 +02:00