Tobias Koppers
636d97e180
show warning when using HMR incorrectly
...
fixed #480
2014-09-17 23:23:45 +02:00
Tobias Koppers
4891225efc
Merge pull request #470 from markmarijnissen/hmr-accept-multiple-deps-bugfix
...
bugfix HMR module.accept: resolve multiple deps to module ids
2014-09-16 20:11:42 +02:00
Tobias Koppers
70e361f800
Merge pull request #469 from markmarijnissen/add-require-context-id
...
Add 'id' attribute to require.context (so HMR can accept a context)
2014-09-16 20:10:29 +02:00
Tobias Koppers
614891e6bb
bug fix #427
2014-09-16 19:33:21 +02:00
Mark Marijnissen
ec194ca095
Replaced spaces with tabs
...
replaced spaces with tabs
2014-09-15 18:04:04 +02:00
Mark Marijnissen
8fbfbc9e34
Update ContextModule.js
...
added semicolon
2014-09-15 17:59:49 +02:00
Tobias Koppers
e489cce1af
fixes webpack/extract-text-webpack-plugin#15
2014-09-15 13:33:13 +02:00
Tobias Koppers
992231a1c8
added `exclude` option to stats
...
added `--display-exclude` and `--display-modules`
exclude common package manager folders by default
fixes #473
2014-09-15 11:46:33 +02:00
Tobias Koppers
1a10838a61
use hasOwnProperty in for in loops
...
#450
2014-09-15 10:35:56 +02:00
Mark Marijnissen
421f203b57
bugfix HMR module.accept: resolve multiple deps to module ids
2014-09-14 02:33:35 +02:00
Mark Marijnissen
aa39f79baf
Add 'id' attribute to require.context (so HMR can accept a context)
2014-09-14 01:50:59 +02:00
Tobias Koppers
3bc6d7b60b
fixed edge case when using [chunkhash:xxx]
...
#427
2014-09-11 19:25:18 +02:00
Tobias Koppers
dd232012ca
Merge pull request #427 from diurnalist/feature/templated-path-plugin-sq
...
Add TemplatedPathPlugin to generically handle asset paths w/ template vars
2014-09-11 19:09:17 +02:00
Jason Anderson
f371945a29
Add TemplatedPathPlugin
2014-09-11 15:31:08 +02:00
Tobias Koppers
df23e14847
use hasOwnProperty in for in loops
...
fixes #450
2014-09-10 14:10:05 +02:00
Tobias Koppers
e0f975eb9e
fixes webpack/extract-text-webpack-plugin#14
2014-09-07 22:54:38 +02:00
Tobias Koppers
9a8cae6d43
added `NoErrorsPlugin`, which doesn't emit on error
...
fixes webpack/webpack-dev-server#42
fixes #449
2014-09-03 14:16:17 +02:00
Tobias Koppers
b8fef9a1d7
allow to ignoreUnaccepted modules in HMR
...
fixes #418
2014-08-29 15:52:38 +02:00
Tobias Koppers
5e8ef9cbc8
Merge pull request #436 from tcoopman/patch-1
...
Update CaseSensitiveModulesWarning.js
2014-08-28 15:14:02 +02:00
Tobias Koppers
6f2be891c2
added 'hidden-sourcemap' devtool
...
fixes #437
2014-08-28 15:13:05 +02:00
Thomas Coopman
785c283971
Update CaseSensitiveModulesWarning.js
...
I believe this should be "an equal" instead of "a equal"
2014-08-28 14:25:28 +02:00
Tobias Koppers
764c139ae1
added `cachedAssets` stats option
...
fixes webpack/webpack-dev-middleware#17
2014-08-28 11:04:48 +02:00
Tobias Koppers
27295ac14d
expose sourceMaps flag to loaders
2014-08-27 17:00:26 +02:00
Tobias Koppers
0380796af2
Merged PR #362
...
code style fixes
2014-08-27 16:25:28 +02:00
Jordan Klassen
4a5bfbdf3d
Merge remote-tracking branch 'origin/master' into optional-require-as-global
...
Conflicts:
test/cases/parsing/extract-amd/index.js
2014-08-26 11:14:40 -07:00
Tobias Koppers
b71e8cca45
fixed copy bug
2014-08-25 16:34:19 +02:00
Tobias Koppers
1f94924a0c
fixes #426
2014-08-25 10:45:04 +02:00
Tobias Koppers
887852f6df
Allow to share hotUpdateCallback
...
fixes #423
2014-08-25 10:19:04 +02:00
Tobias Koppers
1bc0b8c0f4
added __webpack_hash__
...
fixes #422
2014-08-25 09:50:26 +02:00
Tobias Koppers
bf70c88399
throw on missing node.js module
...
fixes #411
2014-08-21 14:43:34 +02:00
Tobias Koppers
c745597617
support for define([], obj), cs closure in r.e
...
fixes #371
fixes #407
2014-08-21 14:32:24 +02:00
Jordan Klassen
95ab7a9960
Merge remote-tracking branch 'origin/master' into optional-require-as-global
...
Conflicts:
lib/UmdMainTemplatePlugin.js
2014-08-19 10:23:33 -07:00
Hugues Malphettes
c2cc1dd231
Fix #412 - Support for holes inside Arrays
...
An array with a hole such as `[,'foo']` is parsed by Esprima as null.
Skip its evaluation.
Reference: https://code.google.com/p/esprima/issues/detail?id=525#c18
```
According to
https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API#Expressions :
interface ArrayExpression <: Expression {
type: "ArrayExpression";
elements: [ Expression | null ];
}
```
2014-08-19 09:59:35 +08:00
Tobias Koppers
97128e0535
added option for devtools
...
`output.devtool[Fallback]ModuleFilenameTemplate` option
fixes #405
2014-08-14 11:31:05 +02:00
Tobias Koppers
eb02ef1e94
add hot self accept with error handler
2014-08-14 10:04:05 +02:00
Anson Yu Wang
112a44da81
fix this.applyPluginsWaterfall("module-obj", .. call in MainTemplate.js
2014-08-13 20:53:23 +08:00
Anson Yu Wang
d0cf49d23c
fix module.hot.data
2014-08-13 16:46:01 +08:00
Tobias Koppers
951d9ec906
Merge pull request #394 from kurtharriger/FixHotUpdateFunction
...
Function name cannot contain -
2014-08-05 16:00:36 +02:00
Tobias Koppers
f7be3c7711
fixed substr bug
2014-08-05 08:30:39 +02:00
Kurt Harriger
bdae82a290
Replace ad-hoc identifier cleansing with helper function
...
Generalized identifier cleansing to replace invalid (and unicode)
characters with underscores to ensure a valid function name.
Applied function in other places functions were generated based on
libarary name.
2014-08-04 08:25:33 -06:00
Kurt Harriger
45a9f0d492
Function name cannot contain -
...
When output.library contains a - the generated function name is not
valid. Replace - with _ to create valid function name.
2014-08-03 10:32:56 -06:00
Quentin Raynaud
3c4284f011
add a semi-colon at the end of the UMD template
...
Rationale: the missing semi-colon can cause bugs in some edge cases where webpack
is used to generate a library that will be concatenated in dependent project.
2014-08-03 16:05:40 +02:00
Christoffer Wolgast
ab630347ad
Make stats version output configurable
2014-08-01 15:19:15 +02:00
Tobias Koppers
66b095566d
rebuild main chunk in fewer cases
2014-07-31 16:33:29 +02:00
Tobias Koppers
aca7f8b547
shorter [name]
2014-07-31 13:51:37 +02:00
Tobias Koppers
37aa1ff7d5
support parallel build and rebuild
...
expanded css bundle example
2014-07-29 00:13:25 +02:00
Tobias Koppers
15e83490b8
Find duplicates globally. Don't fallback shortest.
...
fixes #363
2014-07-26 17:54:00 +02:00
Tobias Koppers
61bc53e875
Shorter and faster empty context
...
#198
2014-07-26 14:48:42 +02:00
Tobias Koppers
3597cdb149
Stack trace for critical UglifyJs errors
2014-07-26 13:59:30 +02:00
Tobias Koppers
74e927f105
fixed another bug in HMR
2014-07-24 17:53:56 +02:00
Tobias Koppers
8c4b8f24c0
fixed #374
2014-07-24 17:53:46 +02:00
Tobias Koppers
15045d2879
minCount default should not be 1 or lower
...
fixes #368
2014-07-24 12:47:18 +02:00
Tobias Koppers
ab2c02ac25
nicer looking stats
2014-07-23 14:41:54 +02:00
Jordan Klassen
e044598a98
Update ExternalModule.js for umd2
2014-07-22 08:10:15 -07:00
Jordan Klassen
562c446a73
add 'umd2' libraryTarget for optional amd dependancies as globals
2014-07-22 01:45:14 -07:00
Tobias Koppers
e2f83e195d
add more complex css-bundle examples
...
add rebuild module
add chunkName parameter to CommonsChunkPlugin
fix bug in LimitChunkCountPlugin
2014-07-19 14:32:48 +02:00
Tobias Koppers
d7e50e5da3
Better filenames in dev tools
2014-07-18 13:31:50 +02:00
Tobias Koppers
040398dd25
Merge #366
2014-07-18 10:54:07 +02:00
Dan Abramov
28a7677981
Make source map generated filenames configurable and use [name]?[loaders] by default
2014-07-18 02:58:01 +04:00
Dan Abramov
5bf94e3775
EvalSourceMapDevToolPlugin accepts one parameter
2014-07-18 02:56:31 +04:00
Jordan Klassen
6eac904631
Optional externals in amd use globals instead of an explicit dependency
...
There isn't any mechanism in the amdjs spec to provide optional
dependancies (although a requirejs loader plugin could do that, it's not
standard). The best approach found was knockout's optional dependancy on
jquery, for which it doesn't use require, it only uses globals.
This solution will need to be improved for use of requirejs/amd in
commonjs environments, and could be toggled with a flag.
2014-07-17 01:42:44 -07:00
Tobias Koppers
1132ca9252
Merge pull request #361 from mzgoddard/dedupe-plugin-late-module-fn
...
Deref dedupe template module when module fn is called.
2014-07-17 01:57:26 +02:00
Tobias Koppers
03c87c11a4
support [name] in chunkFilename
...
fixes #358
2014-07-17 01:52:41 +02:00
Michael "Z" Goddard
028444d185
Deref dedupe template module when module fn is called.
2014-07-16 15:26:21 -04:00
Tobias Koppers
572ebfcd51
use correct (relative) url to source map
2014-07-16 20:57:10 +02:00
Tobias Koppers
829e3f549d
assetsByChunkName should be an array for multiple assets
...
fixes #351
2014-07-09 13:37:06 +02:00
Tobias Koppers
b3a7013550
fixed [optional] output
2014-07-09 13:13:02 +02:00
Dan Abramov
6085815327
Don't call the callback twice on error ( fixes #347 )
2014-07-07 18:11:40 +04:00
Tobias Koppers
f53a7f3e66
fixed parsing of wrapped expressions
...
fixes #345
2014-07-07 13:20:38 +02:00
Taylor Brown
d661eb199d
Fix: setConstant and setModuleConstant now function correctly again.
...
Previously, __filename, __dirname, and other constants were broken. This was due to
the refactor of setConstant and setModuleConstant, and the reuse of the variable name "expr"
2014-07-04 12:13:44 +02:00
Tobias Koppers
5104661855
optional externals
...
track optional modules
optional externals for UMD and root
fixes #339
2014-07-03 00:00:06 +02:00
Tobias Koppers
ca46619b5f
renaming is off by default and only enabled for defined expressions
...
fixes #336
2014-07-02 21:34:29 +02:00
Tobias Koppers
651fbfea24
Moved to memory-fs module #98
2014-07-01 22:56:32 +02:00
Tobias Koppers
d80cdcefac
Code Quality
2014-06-24 18:53:32 +02:00
Tobias Koppers
7ebd1a970c
Export more stuff
2014-06-24 00:41:10 +02:00
Tobias Koppers
6c3e333343
fixed #317
2014-06-23 23:59:10 +02:00
Tobias Koppers
1e37053f7e
Sorted out some MultiCompiler issues
2014-06-18 23:02:33 +02:00
Tobias Koppers
d447e49276
Merge pull request #301 from shama/cache-enoent
...
CachePlugin: Continue when file is deleted
2014-06-18 21:08:44 +02:00
Tobias Koppers
5029d174a4
fixed caching bug, incorrectly used chunk hash when global hash is required
2014-06-18 11:07:14 +02:00
Tobias Koppers
a70f91499a
Allow mixing different webpack versions
2014-06-18 10:59:54 +02:00
Tobias Koppers
af0be8de07
resolve resource in ContextReplacementPlugin
2014-06-17 22:46:24 +02:00
Tobias Koppers
b7480d8734
added more parameters to ContextReplacementPlugin
...
#315
2014-06-17 22:38:17 +02:00
Tobias Koppers
3efb71500a
fixes #316
2014-06-17 21:50:19 +02:00
Taylor Brown
7dc54a1ea8
Fix: "*" was being appended to sources too often
...
The while loop construction was actually yielding false positives due to the placement of parentheses, and would append an "*" to sources even when unnecessary.
2014-06-17 16:35:31 +02:00
Tobias Koppers
38108290e8
fixed MultiCompiler with watching
2014-06-12 06:29:39 +02:00
Tobias Koppers
b0caa69ae1
fixed file system purging
2014-06-11 22:52:02 +02:00
Tobias Koppers
44bb43854f
Added experimental MultiCompiler
...
webpack(...) takes an array
support an array in webpack.config.js
2014-06-11 22:26:50 +02:00
Kyle Robinson Young
4fbd9013ec
CachePlugin: Continue when file is deleted
2014-06-06 10:38:19 -07:00
Tobias Koppers
ff36642818
added support and a special message for browserify pre-built javascripts.
...
fixed #299
2014-06-05 19:52:45 +02:00
Tobias Koppers
81c25a8cfb
removed incorrect code
...
fixes webpack/example-app#5
2014-06-05 09:31:28 +02:00
Tobias Koppers
50233f89cc
Do not generated bad code when named chunks are merged or empty
...
fixed webpack/webpack-dev-server#30
2014-06-04 08:47:48 +02:00
Tobias Koppers
80f3c48d99
better code style
2014-06-03 21:03:21 +02:00
Tobias Koppers
42c82f6b77
refactored ModuleTemplate to plugin interface
2014-06-03 08:45:26 +02:00
Tobias Koppers
5264f69ddf
refactored HotChunkUpdateTemplate to plugin interface
2014-06-03 00:14:46 +02:00
Tobias Koppers
a0394a061b
refactored ChunkTemplate with plugin interface
2014-06-02 23:40:50 +02:00
Tobias Koppers
a8c7dc26d9
fixed some issues
2014-06-02 21:26:57 +02:00
Tobias Koppers
3247725ba3
refactored MainTemplate to plugin interface
2014-06-02 21:23:53 +02:00
Tobias Koppers
bf7922c7fd
Merge pull request #286 from Vijar/master
...
Make sure newResource path for NormalModuleReplacementPlugin is absolute
2014-05-28 09:24:41 +02:00
Rajiv Tirumalareddy
d9b2733c5f
only after-resolve needs absolute path
2014-05-28 00:19:43 -07:00
Tobias Koppers
90daea5fdd
pass context to after-resolve hook
2014-05-28 06:31:11 +02:00
Rajiv Tirumalareddy
5ceefd7dea
make sure newResource for NormalModuleReplacementPlugin is an absolute path
2014-05-27 12:13:22 -07:00
Tobias Koppers
158f35bcf1
parser should not crash if to many arguments are passed to an IIFE
...
fixes #284
2014-05-27 11:52:48 +02:00
Tobias Koppers
07e29e2348
expose module on entry dep
2014-05-26 23:53:48 +02:00
Tobias Koppers
1cf64f2676
added typeof support for the DefinePlugin
...
#282
2014-05-26 12:48:16 +02:00
Tobias Koppers
1c0a0621f6
added contextRegExp to IgnorePlugin
2014-05-26 11:36:47 +02:00
Tobias Koppers
e957ec7467
fixed minor sourcemap default issue
2014-05-26 09:45:42 +02:00
Tobias Koppers
969cb3fc30
updated sourceMappingURL and sourceURL format, fixes #91
2014-05-22 12:07:06 +02:00
Eric Eldredge
ebda431399
Add assets to module stats
2014-05-21 11:51:08 -04:00
Tobias Koppers
f440c6676d
fixes #264
2014-05-17 00:53:28 +02:00
Tobias Koppers
3eefb91a5b
cache the generated source
...
This caches the SourceMap for the eval-source-map devtool
fixes #271
2014-05-17 00:31:52 +02:00
Tobias Koppers
7e08847df5
fixes #266
2014-05-14 08:20:57 +02:00
syranide
3f20c27302
Support any UglifyJS OutputStream option {output: {...}}
2014-05-13 23:13:25 +02:00
Tobias Koppers
aa83dad8be
don't ignore error
2014-05-13 07:31:43 +02:00
Tobias Koppers
e95e385a66
fixed a bug with [chunkhash] in chunk id 0
2014-05-08 18:43:52 +02:00
Tobias Koppers
10e66461da
more safe when caching an entry chunk
...
fixes #256
2014-05-08 09:18:07 +02:00
Tobias Koppers
e6e0b75290
added Watching.close
...
fixed #249
2014-05-08 09:08:01 +02:00
Tobias Koppers
525f8b9579
don't allow dedupe plugin by option (because thats broken)
2014-04-19 21:35:26 +02:00
Tobias Koppers
5c3f8cc345
Don't render and emit entry assets if not needed
...
webpack/webpack-dev-server#21
2014-04-19 21:35:01 +02:00
Ryan Barry
6d3fdebc9e
template.apply() expects dependencyTemplates arg
...
Prototype method template.apply() defined at `/lib/dependencies/TemplateArgumentDependency.js:21`.
2014-04-18 23:35:01 -07:00
Tobias Koppers
0467f4b00a
added newline after each child stats
2014-04-18 14:58:57 +02:00
Tobias Koppers
1f651d6fcb
add an additional hook
2014-04-18 12:56:19 +02:00
Tobias Koppers
e2c0866c62
chunk ids are unique now, so this is no longer needed
2014-04-17 09:08:46 +02:00
Tobias Koppers
58424e0824
support "jsonp" in output.libraryTarget
2014-04-17 08:58:12 +02:00
Tobias Koppers
334e565f18
support [hash] in output.library
2014-04-17 08:57:48 +02:00
Vahe Hovhannisyan
bbc46a6c0b
Require externals plugin for node-webkit target.
2014-04-09 09:47:59 -07:00
Tobias Koppers
1e4428a2a2
Unused requires
2014-04-09 09:21:43 +02:00
Tobias Koppers
bea08dc1a2
added node-webkit target (experimental)
...
added option to provide no target
added defaults for node-webkit
allow browsertests to run in node-webkit
2014-04-09 09:12:04 +02:00
Tobias Koppers
a942f67bda
bug fixed for externals function
2014-04-09 08:25:17 +02:00
Tobias Koppers
9e6b6deea4
support arrays and [name] in output.library
...
fixes #221
2014-04-05 18:10:47 +02:00
Tobias Koppers
b6923ccf93
sourceMapsFilename support querystrings
...
fixes #217
2014-04-03 19:46:53 +02:00
Tobias Koppers
998870d9ee
Warn about modules with matching names if case is ignored
...
fixes #210
2014-03-31 11:33:17 +02:00
Tobias Koppers
59321874df
give information about chunk name to asset mapping
2014-03-31 08:46:04 +02:00
Tobias Koppers
6e7bd0c60b
allow querystring for assets, fixes #217
2014-03-31 08:45:45 +02:00
Tobias Koppers
571505aa8f
clean up dependencies
2014-03-21 16:16:31 +01:00
Tobias Koppers
11ebc21593
cache is on by default
...
disable it with cache: false resp. --no-cache
@petehunt
2014-03-21 16:08:35 +01:00
Tobias Koppers
b23e232716
Don't show error messages for binary files
...
fixes https://twitter.com/thomasABoyt/status/446504948839088128
@thomasboyt
2014-03-20 08:38:28 +01:00
Tobias Koppers
1fe6022712
only decorate the jsonp function
...
this allows mutliple instances of bundles of the same build
fixes karma-webpack#2
2014-03-20 08:07:01 +01:00
Tobias Koppers
a134fae430
require.extension should translate to undefined
...
fixes #209
2014-03-19 23:27:18 +01:00
Tobias Koppers
23d28ddd43
evaluate stuff for renaming to capture more cases
...
fixes #208
2014-03-19 22:16:17 +01:00
Tobias Koppers
3364a26967
upgrade node browser replacements
2014-03-18 22:34:35 +01:00
Tobias Koppers
6bdd8100eb
fixes #202
2014-03-12 23:03:07 +01:00
Tobias Koppers
0f25ccfbe0
fixes #202
2014-03-12 22:30:21 +01:00
Tobias Koppers
9a0a8165a0
bug fix for #199
2014-03-11 18:42:51 +01:00
Tobias Koppers
61f1c4d37d
allow to configure default RegExps for automatically created contexts
...
allow to configure when an automatically created context is critical
better warning message in critical dependencies warning
fixes #196
fixes #198
2014-03-11 16:08:22 +01:00
Tobias Koppers
bf40067cba
replace [hash] in output.path
...
fixes #199
2014-03-11 15:39:46 +01:00
Tobias Koppers
8e44685ac1
add __non_webpack_require__ to API
2014-03-10 13:40:20 +01:00
Tobias Koppers
b2638d21bf
Revert "cache the replaced source for performance"
...
This cannot be cached because module ids may change.
This reverts commit 8a7b508165
.
fixes webpack/grunt-webpack#19
2014-03-07 17:07:58 +01:00
Tobias Koppers
9a3e3443fa
use externals plugin for node target
2014-03-05 19:56:53 +01:00
Tobias Koppers
973d81d871
more options for externals
2014-03-05 19:55:53 +01:00
Tobias Koppers
a7f9340885
added externals option
2014-03-05 09:58:51 +01:00
Tobias Koppers
b68dfc3d83
bug fix in jsonp template
2014-03-03 15:15:33 +01:00
Tobias Koppers
a1dfd78d76
assign to require define require in current scope
2014-03-03 15:14:54 +01:00
Tobias Koppers
53c16c8147
add json as default extension.
...
clever warning for module parse errors.
#184
2014-03-03 15:01:32 +01:00
Tobias Koppers
0fea43b4cb
rename generated require to __webpack_require__
...
fixes #141
fixes RubenVerborgh/N3.js#18
2014-03-03 14:56:17 +01:00
Tobias Koppers
83eec78bf0
follow the browser-module spec: ignoring export an empty module.
...
fixes #187
2014-03-01 20:07:42 +01:00
Tobias Koppers
a705802ae1
allow to ignore a file by browser field
...
fixes #186
2014-03-01 13:37:13 +01:00
Tobias Koppers
f0c7815c93
evaluate typeof requrire.ensure/include
...
#183
2014-02-27 08:49:03 +01:00
Tobias Koppers
3e9d9811a1
print fatal error details
2014-02-26 09:37:10 +01:00
Tobias Koppers
48aad3eeee
fixed #179 typo in OccurenceOrderPlugin
2014-02-25 08:51:40 +01:00
Tobias Koppers
ee30c84672
fixes ProvidePlugin fallback
2014-02-25 08:48:51 +01:00
Tobias Koppers
dba4ecd4b4
more info for in stats
...
for analyse tool
2014-02-24 15:07:15 +01:00
Tobias Koppers
b75ce7a2af
Revert "save 8 chars"
...
This reverts commit a83e15fdf6
.
fixes #176
2014-02-23 11:10:31 +01:00
Tobias Koppers
3acab7c27d
fixed bug where duplicates are not detected
2014-02-15 11:29:15 +01:00
Tobias Koppers
ad02d3c630
sorted out a little bug
2014-02-14 10:07:42 +01:00
Tobias Koppers
8a7b508165
cache the replaced source for performance
2014-02-13 11:41:10 +01:00
Tobias Koppers
d69a884b2a
better devtools
2014-02-13 11:40:16 +01:00
Tobias Koppers
4dd7368e74
bug fix for replacements #167
2014-02-13 11:03:01 +01:00
Tobias Koppers
efb2dd483f
choose defaults by target
...
browser field is on by default, fixes #151
2014-02-13 11:02:31 +01:00
Tobias Koppers
6086d8cd55
insert free var injection code to correct place
...
webpack/webpack#167
2014-02-12 14:53:33 +01:00
Tobias Koppers
95096d69f3
bug fix when no require.e is in the bundle
2014-02-12 08:58:41 +01:00
Tobias Koppers
f3012a4d8d
better source maps
2014-02-12 08:57:26 +01:00
Tobias Koppers
8229f59adf
allow initial chunks to have other ids than 0
2014-02-11 13:27:41 +01:00
Tobias Koppers
8e77c17f44
add packageAlias
...
fixes #151
2014-02-11 12:24:41 +01:00
Tobias Koppers
b7cd807041
add 'amd' library target
...
fixes #164
2014-02-11 08:54:12 +01:00
Tobias Koppers
3b3f6cb0b3
some fixes
2014-02-11 08:53:32 +01:00
Tobias Koppers
5f856ec3b3
add moduleId to stats
2014-02-11 08:32:18 +01:00
Tobias Koppers
96150c0421
make source prefix configurable, fixes #166
2014-02-11 08:31:08 +01:00
Tobias Koppers
6f2a6e64f9
export AggressiveMergingPlugin
2014-02-05 12:37:37 +01:00
Tobias Koppers
d6f9b7527f
added AggressiveMergingPlugin and example
...
fixes #162
2014-02-05 12:05:09 +01:00
Tobias Koppers
91b7921e73
allow module.noParse to be a string
2014-02-04 12:21:01 +01:00
Tobias Koppers
e8206d092b
no empty chunk loading function
2014-02-03 18:19:28 +01:00
Tobias Koppers
d3a9712193
bug fixing
2014-02-03 18:12:19 +01:00
Tobias Koppers
5e7dfc52cc
experimental renaming support
2014-01-31 14:09:08 +01:00
Tobias Koppers
b92af72712
fixed #158
2014-01-31 13:12:51 +01:00
Tobias Koppers
945d0c686f
started renaming support
...
this currently only works for free vars that are really available.
2014-01-31 10:57:28 +01:00
Tobias Koppers
14841c5c40
Merge branch 'master' of https://github.com/webpack/webpack
2014-01-29 15:47:54 +01:00
Tobias Koppers
a83e15fdf6
save 8 chars
2014-01-29 15:47:37 +01:00
Tobias Koppers
e246c5badc
added optimize-tree hook, reset module on build
2014-01-29 10:13:28 +01:00
Tobias Koppers
89fb178917
add origin for used named chunks
2014-01-24 13:32:58 +01:00
Tobias Koppers
698c97ece7
enforce expressions
2014-01-24 13:14:59 +01:00
Tobias Koppers
d1f466e745
local-module support for CJS and AMD require
...
fixes #153
2014-01-24 13:13:21 +01:00
Tobias Koppers
3b40b3fdb7
fixes #155
2014-01-24 12:22:59 +01:00
Tobias Koppers
f67fd530eb
started local modules #153
...
bug fixes
2014-01-23 18:35:56 +01:00
Tobias Koppers
30f954067c
track chunk origin
2014-01-23 15:31:40 +01:00
Tobias Koppers
07f2a23130
bug fix
2014-01-22 17:09:10 +01:00
Tobias Koppers
b6a1c40545
show error details
2014-01-21 16:24:17 +01:00
Tobias Koppers
1822f3a717
added ResolverPlugin
2014-01-21 13:07:10 +01:00
Tobias Koppers
a219e23690
fixed links
2014-01-14 09:57:26 +01:00
Tobias Koppers
1df510b919
bug fix
2013-12-31 12:45:46 +01:00
Tobias Koppers
fe2681cb31
track free vars over IIFEs
...
#138
2013-12-31 12:24:22 +01:00
Tobias Koppers
f6e4229fc6
allow bound function expressions in define calls
2013-12-31 12:24:14 +01:00
Tobias Koppers
b4cf56dd0e
fixed rar bug
2013-12-29 12:21:14 +01:00
Tobias Koppers
7cde32c6ca
more reliable in parsing AMD stuff
...
fixes #138
2013-12-29 12:11:03 +01:00
Tobias Koppers
b9ce650150
better way to bootstrap entry splits
...
now you can use multiple entry points on one page, when using a commons chunk.
entry splits are entry points that are rendered as chunk because a commons chunk is used
2013-12-19 23:22:36 +01:00
Tobias Koppers
776eabc6f1
expose the module to loaders
2013-12-19 22:32:13 +01:00
Tobias Koppers
7e8b2c6972
fixed empty commons chunk
2013-12-19 11:46:45 +01:00
Tobias Koppers
3170b76b22
webpack 1.0 beta
...
moved many options to plugins
#113
2013-12-17 23:21:49 +01:00
Tobias Koppers
81203a3a1c
added node.js HMR,
...
fixed #137 : exports correct require properties on hotRequire too
added more test combinations
2013-12-17 00:56:43 +01:00
Tobias Koppers
a395c07c5d
report better errors for uglify-js
2013-12-17 00:53:22 +01:00
Tobias Koppers
9b4c5d5fc1
fixed onError
2013-12-16 00:54:56 +01:00
Tobias Koppers
b0f5575c57
added async chunk loading for node.js build
2013-12-15 23:08:11 +01:00
Tobias Koppers
d614f95898
fixes #136
2013-12-15 10:31:24 +01:00
Tobias Koppers
4b9472b24d
save bytes #135
2013-12-13 12:58:10 +01:00
Tobias Koppers
d8dbc5e602
less code
2013-12-13 09:47:18 +01:00
Tobias Koppers
142bae19ba
delegate access to some core Sources
2013-12-13 09:01:46 +01:00
Tobias Koppers
f63a0d60c3
added "statement" plugin to Parser for custom stuff
2013-12-13 08:59:07 +01:00
Tobias Koppers
7633749814
added "program" plugin to Parser for custom stuff
2013-12-13 08:55:38 +01:00
Tobias Koppers
c7c92399dd
fixes a bug where HMR chunks are not minimized
2013-12-13 08:55:13 +01:00
Tobias Koppers
8851427ea2
use chunk ids in entry chunks too
...
this fixes a unnecessary download in mutli-entry compilations
2013-12-11 08:41:43 +01:00
Tobias Koppers
63f40c0e76
support fancy array in AMD, support .replace and .split
2013-12-08 14:59:52 +01:00
Tobias Koppers
1fa9169cf2
use initial flag for initial loaded chunks
2013-12-03 23:11:14 +01:00
Tobias Koppers
bc016f4517
fix nested commons chunks
2013-12-03 19:09:42 +01:00
Tobias Koppers
63e0d4668c
Allow to address a commons chunks
2013-12-03 17:14:28 +01:00
Tobias Koppers
8e3d00e77c
better default value
2013-12-03 11:44:46 +01:00
Tobias Koppers
f165e8e2f1
fixed bug when using an array of entry points in commons chunk plugin
2013-12-03 11:34:38 +01:00
Tobias Koppers
20e9f65bb1
accept an array of entryPoints for Commons chunk
2013-12-03 11:28:39 +01:00
Tobias Koppers
153be562db
keep commons chunk in mind when optimizing
2013-12-03 11:28:00 +01:00
Tobias Koppers
6c6e495ae7
better commons naming #128
2013-12-03 11:19:30 +01:00
Tobias Koppers
4d25d521f6
plugin to extract common modules
...
from multiple entry points
#128
2013-12-03 09:27:15 +01:00
Tobias Koppers
fc157aeea6
removed unused line
2013-11-29 08:46:54 +01:00
Tobias Koppers
f5e6c6b930
make AMD require work without fn expr
2013-11-27 23:04:14 +01:00
Tobias Koppers
6a0b9f0d9c
fixes this in deduped modules
2013-11-27 13:37:47 +01:00
Tobias Koppers
e4bbcc53a5
wait at least to the next second #122
2013-11-26 16:19:06 +01:00
Johannes Ewald
c52e8d7238
fixed a bug where finishChunkLoading() was accidentally called twice
2013-11-24 13:58:02 +01:00
Tobias Koppers
415d161dbe
evaluate the callee in CallExpression, fixes #117
...
This allow fancy wrappers around identifiers
2013-11-08 09:00:39 +01:00
Tobias Koppers
a6a71dc90c
nested node_modules shouldn't be resolved as modules
...
in a require.context
buggy would be require.context(".", true, /^/)("xyz/node_modules/abc")
2013-11-06 09:28:15 +01:00
Tobias Koppers
bb1d4ba6e6
Warn about automatic require.context #115
2013-11-06 09:02:00 +01:00
Tobias Koppers
bd56e8385f
walk expression in require.ensure if not a fn expr
2013-11-05 18:55:10 +01:00
Tobias Koppers
7a665410ca
added IgnorePlugin, fixed replacement plugins
2013-11-05 18:19:04 +01:00
Tobias Koppers
a3cd3baf16
fixes #114
...
allow bound function expressions in require.ensure
allow unparsed expressions in require.ensure
2013-11-03 15:28:50 +01:00
Tobias Koppers
6b011bccfd
sort reasons in stats
2013-10-31 00:38:10 +01:00
Tobias Koppers
c9331d93d3
fixed location info for minimizing
2013-10-31 00:06:39 +01:00
Tobias Koppers
c32b233a4f
smaller code splitting for merged chunks
2013-10-30 23:25:02 +01:00
Tobias Koppers
e62e3a2223
fixed race condition for loadModule
2013-10-29 14:14:16 +01:00
Tobias Koppers
b362c227b7
Add dependencies when using loadModule
2013-10-29 11:06:28 +01:00
Tobias Koppers
424e162247
bug fix if parse error in the first lines
2013-10-29 10:59:32 +01:00
Tobias Koppers
52b40b3798
allow loaders to load modules
...
fixed templates readable name
2013-10-28 16:21:29 +01:00
Tobias Koppers
efc294245f
fix parsing error message
2013-10-24 10:46:15 +02:00
Tobias Koppers
f8507717c1
added missing --output-jsonp-function, export multiple properties
2013-10-15 22:00:28 +02:00
Tobias Koppers
8abea1f129
define injection order #108
2013-10-15 00:35:24 +02:00
Tobias Koppers
167e5c64c4
Merge pull request #107 from jhnns/fix-undefined-define-option
...
Allow define-variables to be undefined
2013-10-14 13:56:02 -07:00
Tobias Koppers
9e83a0ff7c
generate a valid expression when transforming define fixes #108
2013-10-14 18:51:29 +02:00
jhnns
e4d7eccfb9
fix an error where webpack crashed when a variable passed to `DEFINE`-option was undefined
2013-10-14 15:30:39 +02:00
Tobias Koppers
063a5ff993
little fix
2013-10-14 13:59:52 +02:00
Tobias Koppers
074a26efb5
Performance #106
2013-10-14 13:59:44 +02:00
Tobias Koppers
d56dce7e52
more details in progress
2013-10-12 22:40:15 +02:00
Tobias Koppers
6a2f255778
fixed parsing of packageMains options
2013-10-12 22:08:04 +02:00
Tobias Koppers
1a8362534b
fixed annoying catch
2013-10-11 11:09:42 +02:00
Tobias Koppers
392c6db063
more useful error when using require.extensions #104
2013-10-11 10:42:25 +02:00
Tobias Koppers
cff436e829
global should work in strict mode to #102
2013-10-01 10:17:04 +02:00
Tobias Koppers
7b3d01892f
global is not this #102
2013-10-01 10:11:56 +02:00
Tobias Koppers
bedd59390c
edge case where injecting into require.e functions #102
2013-10-01 10:11:25 +02:00
jhnns
2dd0ba9552
fixed wrong `this` within modules fixes #97
2013-10-01 02:31:45 +02:00
Tobias Koppers
54782ef53d
support a bit of math: +, -, *, /
2013-09-24 15:17:25 +02:00
Tobias Koppers
5346729da2
better typeof support
2013-09-24 15:09:08 +02:00
Tobias Koppers
1aa80aa48b
allow objects in `define` option #100
2013-09-24 15:07:55 +02:00
Tobias Koppers
01c2f45bf5
changed define option to be more C-like #99
...
values are code fragments now.
2013-09-24 14:49:39 +02:00
Tobias Koppers
672fc9ba0f
UglifyJsPlugin: don't drop warnings
...
warnings are mapped by source map to modules
2013-09-14 11:50:39 +02:00
Tobias Koppers
a37948d114
added options.define, evaluate conditionals, fixes #99
2013-09-13 11:17:57 +02:00
Tobias Koppers
d9f470d803
added Source delegation
2013-08-05 11:36:42 +02:00
Tobias Koppers
5abf033601
fixed #94 , no longer incorrectly remove modules
2013-07-24 20:50:41 +02:00
Tobias Koppers
6045abca76
allow to disable mangling
2013-07-11 00:16:07 +02:00
Tobias Koppers
58586f8ae2
make it webpack-able
2013-07-10 23:20:07 +02:00
Tobias Koppers
6c1e98f759
Fixed Hash Cycle
2013-07-08 08:12:48 +02:00
Tobias Koppers
1726325ef2
really fixed the bug
2013-07-05 14:56:16 +02:00
Tobias Koppers
ac897a7dea
fixed bug with preHash
2013-07-05 14:17:19 +02:00
Tobias Koppers
686978ba05
moved hash update in runtime
2013-07-05 08:35:41 +02:00
Tobias Koppers
4c7766a694
support #sourceURL and #sourceMappingURL, #91
2013-07-04 14:08:47 +02:00
Tobias Koppers
a7bce382bc
fixed global leak
2013-07-04 12:11:17 +02:00
Tobias Koppers
2181739daf
added unsafeCache option for performance
2013-07-04 12:01:10 +02:00
Tobias Koppers
b5b672233f
Fixed caching
2013-07-04 11:55:37 +02:00
Tobias Koppers
d85324c9fd
profile progress
2013-07-04 11:02:35 +02:00
Tobias Koppers
996ea59bb0
Hot: the json info file is no chunk asset
2013-07-01 14:09:33 +02:00
Tobias Koppers
49506c83bb
HOT: added update json info file, fixed infinite hash updates, #26
2013-07-01 13:59:02 +02:00
Tobias Koppers
bf5b14a297
test and fix
2013-06-28 14:20:11 +02:00
Tobias Koppers
7c83f08483
fixed disabled require.ensure
2013-06-28 14:03:12 +02:00
Tobias Koppers
152c173115
don't use es5 stuff in hmr code
2013-06-24 13:43:28 +02:00
Tobias Koppers
40c409eb5f
added applyOnUpdate
2013-06-23 14:59:39 +02:00
Tobias Koppers
9aa00a69db
bugfix #26
2013-06-20 16:32:53 +02:00
Tobias Koppers
b1fe88b531
fixed WebWorker with Hot Module Replacement #26
2013-06-20 12:04:31 +02:00
Tobias Koppers
74cdfb7802
more fixes #26
2013-06-19 22:31:12 +02:00
Tobias Koppers
2e5fc25fa7
fixed some bugs #26
2013-06-19 16:41:57 +02:00
Tobias Koppers
d8fc8472f6
hot module replacement with code splitting #26
2013-06-19 16:09:46 +02:00
Tobias Koppers
8b2301056d
added hot module replacement, fixes #26
2013-06-19 13:49:57 +02:00
Tobias Koppers
327a990070
fixed bugs
2013-06-19 11:53:03 +02:00
Tobias Koppers
a84a0433c9
better optimizing
2013-06-17 18:55:11 +02:00
Tobias Koppers
dabbab4627
removed the last TODO :)
2013-06-15 17:31:56 +02:00
Tobias Koppers
47ae6dc211
only add deduplicate code if deduplicated modules are in the chunk.
2013-06-14 15:42:40 +02:00
Tobias Koppers
a91cff49b6
complexer dedupe example and fixed bugs
2013-06-14 15:13:44 +02:00
Tobias Koppers
fcc0c5f6cf
minor fix
2013-06-13 13:37:08 +02:00
Tobias Koppers
c30f16f439
added experimental deduplication support #47
2013-06-12 16:16:06 +02:00
Tobias Koppers
7df05c7ddc
fixed missing mkdirp for records, #90
2013-06-10 14:25:54 +02:00
Tobias Koppers
f84f000149
records, typo
2013-05-31 12:22:40 +02:00
Tobias Koppers
0870e00113
build chunks on seal (fixes prefetching bug)
2013-05-22 10:12:53 +02:00
Tobias Koppers
44f8709fbd
more options for hashing
2013-05-21 11:08:08 +02:00
Tobias Koppers
e5814dd9d0
display reasons on failed modules (second try) webpack/raw-loader#1
2013-05-21 01:47:22 +02:00
Tobias Koppers
6af5702c44
added [chunkhash] support, fixes #90
2013-05-21 01:46:14 +02:00
Tobias Koppers
1133a5606e
better error reporting
2013-05-18 14:42:11 +02:00
Tobias Koppers
55149353d4
fixed little bug
2013-05-14 13:55:06 +02:00
Tobias Koppers
b5f7c36a29
fixes #76
2013-05-13 16:01:44 +02:00
Tobias Koppers
3cb3cf7285
purge only changed files, longer caching
2013-05-13 14:25:37 +02:00
Tobias Koppers
209f96c543
added option to prefetch modules
2013-05-13 13:34:00 +02:00
Tobias Koppers
96275187cc
added BannerPlugin
2013-05-12 23:16:22 +02:00
Tobias Koppers
72f29bf81c
move minimize option to plugin
2013-05-12 22:44:10 +02:00
Tobias Koppers
9959b05319
support in-memory windows-like filesystems, fixes #78
2013-05-12 22:33:17 +02:00
Tobias Koppers
b720229360
fixes #83
2013-05-09 18:17:28 +02:00
Tobias Koppers
c5b52b547c
keep chunk ids
2013-05-08 23:01:25 +02:00
Tobias Koppers
30c66003e8
profiling is back
2013-05-08 14:47:13 +02:00
Tobias Koppers
5cdb8cbf81
cache chunks, cache assets
2013-05-08 13:28:54 +02:00
Tobias Koppers
e43ec6251e
fixed edge cases
2013-04-02 09:14:19 +02:00
Tobias Koppers
a56cada9ba
whitespace and comment fixes
2013-03-28 10:31:28 +01:00
Tobias Koppers
b5b5cc9372
get back old style
2013-03-28 10:19:51 +01:00
Tobias Koppers
8d0162c7bb
small change in webpack-core
2013-03-28 08:42:53 +01:00
Tobias Koppers
e461d217db
formating and comments for the main template
2013-03-27 09:24:25 +01:00
Tobias Koppers
0de7c73ad8
SourceMap support
2013-03-26 16:54:41 +01:00
Tobias Koppers
bcd7924ec6
fixed crashing when error in entry file
2013-03-14 14:51:29 +01:00
Tobias Koppers
8e517c5c21
fixed minimize bug
2013-03-13 11:37:28 +01:00
Tobias Koppers
b742264a4d
add UMD, closed #71
2013-03-11 14:51:23 +01:00
Tobias Koppers
edfc6759fb
Errors and warnings stay in cache
2013-03-05 11:08:59 +01:00
Tobias Koppers
f9ac3ed2a5
fixed last commit
2013-03-01 15:03:00 +01:00
Tobias Koppers
065a56f603
added Buffer
2013-03-01 14:59:38 +01:00
Tobias Koppers
bd805ec293
fixed naming
2013-03-01 09:44:58 +01:00
Tobias Koppers
007f21d5fe
better identifier name
2013-02-26 13:59:28 +01:00
Tobias Koppers
678aa6e2a5
fixed require: "aa", "bb" and added examples for labeled modules
2013-02-26 13:55:41 +01:00
Tobias Koppers
c4140aac51
moved ConsolePlugin into NodeSourcePlugin
2013-02-26 13:31:05 +01:00
Tobias Koppers
38d3c877dd
support labeled modules fixes #72
2013-02-26 12:36:34 +01:00
Tobias Koppers
3239dd76af
whitespace
2013-02-26 12:35:49 +01:00
Tobias Koppers
273506ee34
fix for RegExp evalutating, change in node-libs-browser
2013-02-25 18:18:49 +01:00
Tobias Koppers
c1592dfbbf
Moved node libs for browser into separate package
2013-02-25 11:34:33 +01:00
Tobias Koppers
85bda0d875
optimize for compression
2013-02-24 02:59:51 +01:00
Tobias Koppers
9fe83b3dc8
improved chunk loading
...
now a chunk is not loaded if all included modules are already loaded (by other chunks)
2013-02-24 02:05:55 +01:00
Tobias Koppers
1a449cefb6
better config file check, added hook for VariableDeclarators
2013-02-22 17:01:54 +01:00
Tobias Koppers
9759650369
obsolete
2013-02-20 20:40:58 +01:00
Tobias Koppers
f3213f2d00
create context for more stuff
2013-02-20 20:40:40 +01:00
Tobias Koppers
57ddbc0859
added i18n example, fixed error/warning bug
2013-02-19 12:48:17 +01:00
Tobias Koppers
cdbc509bb4
fixed chunk parent bug
2013-02-19 11:11:54 +01:00
Tobias Koppers
30c4174915
fixes stats as json
2013-02-19 11:11:43 +01:00
Tobias Koppers
c88bce3b08
use variable for __resourceQuery
2013-02-17 10:30:47 +01:00
Tobias Koppers
2183f05db8
added __resourceQuery, __dir/__filename compile time constant
2013-02-16 22:23:22 +01:00
Tobias Koppers
a0680280f3
added require.include
2013-02-15 17:08:14 +01:00
Tobias Koppers
7ef74e8021
moved options defaulter to core
2013-02-15 14:16:18 +01:00
Tobias Koppers
64af867150
added require.js stuff, fixed progress
2013-02-13 21:24:00 +01:00
Tobias Koppers
b0a7d774a0
removed error handling, it's handled while compiling
2013-02-13 17:37:21 +01:00
Tobias Koppers
3dc62749a2
moved webworker template, added node.js template #57
2013-02-13 17:00:07 +01:00
Tobias Koppers
2976cf0246
fixes #63
2013-02-13 15:01:12 +01:00
Tobias Koppers
8821f7bbf8
fixes #64
2013-02-13 14:57:00 +01:00
Tobias Koppers
dc69f23de4
fixes #65
2013-02-13 14:42:34 +01:00
Tobias Koppers
3315480432
fixed some bugs
2013-02-13 13:00:01 +01:00
Tobias Koppers
90f8a42ab3
fixed some examples stuff
2013-02-13 11:51:08 +01:00
Tobias Koppers
4d1ca1993d
fixed stack overflow bug
2013-02-11 12:03:33 +01:00
Tobias Koppers
a7cdb88346
minor fixes
2013-02-11 11:29:05 +01:00
Tobias Koppers
e2277c64c9
bug fix for resolveLoader.root
2013-02-11 11:10:15 +01:00
Tobias Koppers
0eec4071e9
better optimize
2013-02-11 10:58:24 +01:00
Tobias Koppers
0df61621ea
added MinChunkSizePlugin
2013-02-11 10:52:19 +01:00
Tobias Koppers
6d50b09009
add parameter only if in context to NodeSourceRealPathsPlugin #62
2013-02-11 08:48:22 +01:00
Tobias Koppers
35d15c7ff7
fixes #62
2013-02-11 08:42:45 +01:00
Tobias Koppers
d5b50eb14d
fixed the watching stuff :)
2013-02-11 00:17:29 +01:00
Tobias Koppers
05152cee7f
added provide plugin and option
2013-02-10 20:37:30 +01:00
Tobias Koppers
34424b36af
fixed some stuff
2013-02-08 00:18:47 +01:00
Tobias Koppers
27a80536b7
path fix
2013-02-05 08:44:37 +01:00
Tobias Koppers
de2ab63a02
fixed #62 , added NodeSourceRealPathsPlugin
2013-02-05 08:33:32 +01:00
Tobias Koppers
1ce5f465b5
refactored addParsedVariable into ModuleParserHelpers
2013-02-05 08:31:46 +01:00
Tobias Koppers
fd7226ed50
fixes
2013-02-04 15:58:04 +01:00
Tobias Koppers
eda45fe115
fixed a bug
2013-02-04 14:44:34 +01:00
Tobias Koppers
68ee0a6537
some bugfixes and fallback option
2013-02-04 13:59:43 +01:00
Tobias Koppers
7aa63f1282
fixed children stats
2013-02-04 13:22:45 +01:00
Tobias Koppers
8079331b2f
fixed child compiler
2013-02-04 13:16:12 +01:00
Tobias Koppers
453c0226aa
Fix context modules
2013-02-04 12:34:20 +01:00
Tobias Koppers
8a4bb64611
show readable identifier in errors
2013-02-04 12:33:36 +01:00
Tobias Koppers
bd89d65b8e
added resolve.root support
2013-02-04 10:47:00 +01:00
Tobias Koppers
cabee2778c
multi module now exports the last module
2013-02-01 10:45:19 +01:00
Tobias Koppers
8ecdb72b48
removed old files, moved stuff
2013-02-01 08:42:12 +01:00
Tobias Koppers
e8f0e1d7cf
fix watching
2013-02-01 08:03:38 +01:00
Tobias Koppers
961ad40966
file watching
2013-01-31 18:00:22 +01:00
Tobias Koppers
5adfabb091
added replacement plugins
2013-01-31 02:33:11 +01:00
Tobias Koppers
001fd4f859
remove debug output
2013-01-31 02:32:13 +01:00
Tobias Koppers
55d1af8109
fix named chunks, added multi entry plugin
2013-01-31 01:44:39 +01:00
Tobias Koppers
ee01837d66
Refactored everything for 0.9
2013-01-30 18:49:25 +01:00
Tobias Koppers
694a6b8897
fix stuff
2012-11-13 11:48:47 +01:00
Tobias Koppers
6a9bd13396
better minimize options and error handling
2012-11-12 14:39:53 +01:00
Tobias Koppers
b10da8d83f
fix bug #39
2012-11-10 11:07:29 +01:00
Tobias Koppers
66b6df3e3c
less verbose parsing errors
2012-11-07 12:11:21 +01:00
Tobias Koppers
d48e8bd6a6
upgrade to uglify-js2
2012-11-07 12:03:37 +01:00
Tobias Koppers
256b5720f6
Merge branch 'master' into wip-0.8
2012-11-06 15:28:21 +01:00
Tobias Koppers
80989e74a9
allow special amd exports, should fix #34
2012-11-06 15:28:05 +01:00
Tobias Koppers
3b881ba414
changes some defaults for modules
2012-11-06 15:05:52 +01:00
Rainer Dreyer
0366444379
Renamed *libary* to *library*
...
Conflicts:
test/browsertest/build.js
2012-11-05 20:11:50 +01:00
Tobias Koppers
cbf909e9db
Merge branch 'master' into wip-0.8
...
Conflicts:
lib/buildModule.js
2012-11-05 09:43:28 +01:00
Tobias Koppers
83c3fa2e60
typeof module do not longer import module overwrite #32
2012-11-05 09:38:20 +01:00
Tobias Koppers
ccec298fba
fixed overwriting with function decl #32
2012-11-05 09:34:18 +01:00
Tobias Koppers
f9073caa38
fixed pure AMD define #32
2012-11-05 09:23:20 +01:00
Tobias Koppers
b375130852
better error reporting of parse errors
2012-11-05 09:22:13 +01:00
Tobias Koppers
567ca44ad8
updated loader modules
2012-11-02 10:27:05 +01:00
Tobias Koppers
15d398cc34
fixed sorting
2012-11-02 09:54:09 +01:00
Tobias Koppers
f0cfbf8d66
fix include filenames
2012-11-02 09:31:06 +01:00
Tobias Koppers
10a887b8ff
backcompatible and fixed output bug
2012-11-02 00:24:20 +01:00
Tobias Koppers
6d4ee85792
query with context
2012-11-02 00:15:02 +01:00
Tobias Koppers
79743f0217
work with queries in loaders
2012-11-01 23:48:08 +01:00
Tobias Koppers
31c6ffc829
update to next resolve version
2012-11-01 21:00:15 +01:00
Tobias Koppers
41b3d51534
Merge branch 'master' into wip-0.8
2012-11-01 20:57:14 +01:00
Tobias Koppers
5530203192
fixes #29
2012-10-30 21:14:22 +01:00
Tobias Koppers
efea82a52e
only show named chunks in stats.chunkNameFiles
2012-10-28 22:52:02 +01:00
Tobias Koppers
c75f1c29af
only warn if error in try block
2012-10-28 22:45:00 +01:00
Tobias Koppers
7f1fc5b825
specify lookup fields in package.json
2012-10-27 02:16:42 +02:00
Tobias Koppers
f5290b0e86
better compressed require.context
2012-10-26 15:05:06 +02:00
Tobias Koppers
03c812a407
remove annoying space
2012-10-26 14:40:12 +02:00
Tobias Koppers
228f86e904
Remove last comma in bundles, fixes #28
2012-10-26 14:39:27 +02:00
Tobias Koppers
46205caf04
jam is no longer default, as it impactes performance
2012-10-26 01:56:32 +02:00
Tobias Koppers
8dac14a3d9
fixed chunkNameFiles for chunk merging
2012-10-26 01:41:21 +02:00
Tobias Koppers
323e386f25
document and test chunk merging
2012-10-26 00:47:51 +02:00
Tobias Koppers
0460211742
better disconnect
2012-10-26 00:19:19 +02:00
Tobias Koppers
4115793836
fixed test and removed output
2012-10-26 00:05:46 +02:00
Tobias Koppers
6d484e80db
option to merge chunks
2012-10-26 00:05:41 +02:00
Tobias Koppers
b3eeaf80f8
more bugfix
2012-10-21 23:38:38 +02:00
Tobias Koppers
ef199fbc89
bugfix
2012-10-21 23:34:30 +02:00
Tobias Koppers
466ec90ffa
let loaders emit warnings/errors, don't fail on entry module error
2012-10-20 15:29:17 +02:00
Tobias Koppers
d5fc1115e7
simplifiy verbose stats api
2012-10-08 23:45:46 +02:00
Tobias Koppers
e1fc167193
little stats bug
2012-10-08 23:35:22 +02:00
Tobias Koppers
55d748faaf
Readme and license
2012-10-08 22:39:22 +02:00
Tobias Koppers
b8be5e9bf5
final fixes
2012-10-08 22:34:26 +02:00
Tobias Koppers
41946d2450
fixed two bugs:
...
* watch mode do not include files with errors
* resolve errors display as `[object Object]` in workers
2012-10-02 16:27:40 +02:00
Tobias Koppers
5b64b25e9a
not required
2012-09-26 18:02:15 +02:00
Tobias Koppers
383e1f0eed
added option for min loaders for worker
2012-09-26 14:06:59 +02:00
Tobias Koppers
6cc2b7d099
deps updated
2012-09-26 13:40:00 +02:00
Tobias Koppers
60546dba63
cache worker args
2012-09-26 13:02:27 +02:00
Tobias Koppers
18db563ef6
seperate resolving
2012-09-26 12:28:23 +02:00
Tobias Koppers
0b9342e863
better work distribution
2012-09-25 19:23:05 +02:00
Tobias Koppers
193173c7b4
fixed parse error to be an object
2012-09-25 17:40:34 +02:00
Tobias Koppers
9320ed60ca
fixed chunkNameFiles with hash
2012-09-25 17:20:36 +02:00
Tobias Koppers
2eeb4923e1
API: loaderContext.depencency is more relaxed and don't need to be called before reading
...
API: loader.seperable cannot combined with
loaderContext.emitFile and loaderContext.emitSubStats
loaderContext.options.resolve
loaderContext.options.events
loaderContext.resolve and .sync
API: added profile option (and --profile)
API: added workers option (and --workers)
API: added closeWorkers option
API: if option workers is used:
options must be JSON.stringify-able. Except options.resolve and options.events.
Any error thrown in loader must be an object (i. e. an Error object). Only message, stack and value of toString is passed to main process.
API: The expected Cache object for options.cache has changed.
API: event module is emited after the module is finished.
API: event context is now named context-enum
API: added event context which is emited after the context is finished.
API: event dependency is removed. Use stats.dependencies for this.
API: event loader is removed. Use stats.loaders for this.
API: added stats.contexts as a list of contexts.
API: added stats...modules[..].dependencies for as list of files which affect the module's content.
API: added stats...modules[..].loaders for as list of loaders which affect the module's content.
API: removed stats.modulesPerChunk, it is useless and was deprecated.
API: added stats.chunkNameFiles which export the files for named chunks
API: added stats.startTime, timestamp as number
cmd: more colorful output to indicate caching and timing
API: webpack in watch mode emits the event watch-end if watch mode have to end (i. e. loader changed). You may restart it after clearing require.cache.
API: added loaderContext.loaderType as one of loader, preLoader or postLoader.
API: added loaderContext.currentLoaders as list of all loader of the current type.
API: added loaderContext.loaderIndex as index of current loader in loaderContext.currentLoaders.
API: added loaderContext.loaders, loaderContext.preLoaders and loaderContext.postLoaders.
2012-09-25 16:45:53 +02:00
Tobias Koppers
1e712788ee
fix bug with brackets around requires
2012-08-29 15:16:20 +02:00
Tobias Koppers
638e82254a
updates to enhanced-require, optimizing amd
2012-08-23 18:43:25 +02:00
Tobias Koppers
2bf6851c80
removed old stuff, moved loaders to enhanced-require
2012-08-23 14:58:10 +02:00
Tobias Koppers
c912c0134b
separable loaders as opt-in feature, fixes #16
...
in future separable loaders may run in a
sperate process for performance reasons
2012-08-23 03:17:52 +02:00
Tobias Koppers
cdf12758ba
bugfix: fixed multiple chunks
2012-08-23 02:01:33 +02:00
Tobias Koppers
624eff12aa
bugfix: error reporting minimize
2012-08-23 01:43:29 +02:00
Tobias Koppers
592bcdde4b
better amd support
2012-08-23 00:10:52 +02:00
Tobias Koppers
c6520db2bd
fixes #20
2012-08-22 23:04:26 +02:00
Tobias Koppers
67acd76838
moved resolve
2012-08-13 17:10:24 +02:00
Tobias Koppers
d2fae4b5ce
Extracted resolving to module
2012-08-13 16:50:42 +02:00
Tobias Koppers
d51996f2e5
bug fix
2012-08-13 15:45:27 +02:00
Tobias Koppers
a5f1fa53f5
fixed typo in formatOutput
2012-08-09 11:57:27 +02:00
Tobias Koppers
2fdf1666fd
Support for webpack-dev-middleware, and tests
2012-08-08 22:22:31 +02:00
Tobias Koppers
8c0ab9c229
fire bundle-invalid, documentation, added noWrite option
2012-08-08 20:27:55 +02:00
Tobias Koppers
f436d7b2e1
fix require.config
2012-08-07 23:50:17 +02:00
Tobias Koppers
b26910f654
amd require is now async in webpack too
2012-08-07 22:48:09 +02:00
Tobias Koppers
bb1752204e
better amd support, support for jam package manager
2012-08-07 20:52:48 +02:00
Tobias Koppers
84ab7988b3
pretty context output
2012-08-06 22:31:11 +02:00
Tobias Koppers
42b8d48210
better amd support
2012-08-06 22:17:03 +02:00
Tobias Koppers
2c59bf8a65
fix files order
2012-08-06 21:49:16 +02:00
Tobias Koppers
4d631a0635
added AMD support
2012-08-06 21:43:57 +02:00
Tobias Koppers
4785721f7b
made stuff ready for worker implementation
2012-08-06 18:20:41 +02:00
Tobias Koppers
22055c85b1
fixed error handling
2012-07-30 17:26:25 +02:00
Tobias Koppers
4336fccbbd
faster replacing
2012-07-17 13:29:21 +02:00
Tobias Koppers
c7d7607053
support loaders as entry module
2012-07-17 13:25:01 +02:00
Tobias Koppers
19f2de7e77
fixed error handling in resolve
2012-07-16 07:14:46 +02:00
Tobias Koppers
5d323fc64e
shorten more filenames, includeFilenames options affect comments in require
2012-07-11 17:53:16 +02:00
Tobias Koppers
57632eede1
fixed tests
2012-07-11 12:26:59 +02:00
Tobias Koppers
87f82e5219
added pre and post loaders
2012-07-11 12:18:31 +02:00
Tobias Koppers
514ad01e97
Shorten sourceURLs fixes #6
2012-07-11 02:15:39 +02:00
Tobias Koppers
c95d4ca777
speed up resolving
2012-07-10 23:59:46 +02:00
Tobias Koppers
258f9f4d7d
added resolve postprocessing
2012-07-10 20:59:05 +02:00
Tobias Koppers
9000cad388
fixed big performance bug in watch mode
2012-07-10 19:32:17 +02:00
Tobias Koppers
e60514aac1
add compile time to statistics
2012-07-10 19:31:22 +02:00
Tobias Koppers
e033f1e9a6
cache parsed source
2012-07-10 18:22:42 +02:00
Tobias Koppers
513a1f1c80
expand hash in stats
2012-07-10 18:22:23 +02:00
Tobias Koppers
f33da58a03
better debugging in chrome fixes #6
2012-07-06 17:14:35 +02:00
Tobias Koppers
3b219e34af
expose require.cache and require.resolve, fixes #4
2012-07-04 11:50:20 +02:00
Tobias Koppers
b1a45f3341
typo
2012-07-04 11:47:35 +02:00
Tobias Koppers
088d315f9f
node.js 0.8 support
2012-07-01 16:55:58 +02:00
Tobias Koppers
623ca4ea5c
caching info
2012-06-29 21:52:03 +02:00
Tobias Koppers
258b0c1951
fixed single option
2012-06-29 20:54:24 +02:00
Tobias Koppers
23b2476833
test refactored to mocha (part 1), bugfixes
2012-05-26 00:51:02 +02:00
Tobias Koppers
c14f12d5b5
Fix CRLF
2012-05-23 10:46:37 +02:00
Tobias Koppers
ce864f3416
compress "ensure" to "e"
2012-05-21 22:59:31 +02:00
Tobias Koppers
7d16ffc084
watch react on loader dependency
2012-05-21 00:16:33 +02:00
Tobias Koppers
0ddf30412d
added caching for watch mode
2012-05-21 00:09:30 +02:00
Tobias Koppers
c30095ab56
small fixes
2012-05-18 01:15:53 +02:00
Tobias Koppers
259fb52ddf
expose context
2012-05-17 23:34:43 +02:00
Tobias Koppers
e48e2a2c12
added named chunks
2012-05-17 12:45:48 +02:00
Tobias Koppers
d5fd622e51
fixed val-loader
2012-05-14 23:00:29 +02:00
Tobias Koppers
4f6bd7f2bc
fix for chucks determinism
2012-05-13 16:37:35 +02:00
Tobias Koppers
7b7fc9c71c
even more deterministic
2012-05-13 16:26:58 +02:00
Tobias Koppers
54ed0bfab7
deterministic chuck numbering
2012-05-13 16:19:11 +02:00
Tobias Koppers
31158a968d
documentation and small bugfixes
2012-05-12 16:43:37 +02:00
Tobias Koppers
fb23424b85
one error check more
2012-05-10 22:13:35 +02:00
Tobias Koppers
9469067b4c
little more error reporting
2012-05-10 19:31:02 +03:00
Johannes Spielmann
816a033de2
fixed wrong variable name
2012-05-10 18:24:48 +02:00
Tobias Koppers
66a0ebdc6e
offer loader.emitFile and loader.buffers
2012-05-07 17:58:36 +02:00
Tobias Koppers
d394065af6
moved templates
2012-05-07 09:01:28 +02:00
Tobias Koppers
d2908b195c
fix *nix paths
2012-05-07 09:01:01 +02:00
Tobias Koppers
f81c516066
extracted formatOutput
2012-05-06 19:06:26 +02:00
Tobias Koppers
6e2f88c11e
faster
2012-05-06 19:03:16 +02:00
Tobias Koppers
a090e12322
added val & bundle loader
2012-05-04 16:42:38 +02:00
Tobias Koppers
53a23ec058
fix for debug mode
2012-05-02 14:16:55 +02:00
Tobias Koppers
e96c8369bb
bugfixes
2012-05-02 14:06:42 +02:00
Tobias Koppers
95e89267f4
added watch mode and --progress
2012-05-01 21:33:59 +02:00
Tobias Koppers
c44e5f8dc4
add [hash] function
2012-05-01 17:46:26 +02:00
Tobias Koppers
686756ca89
fixed removing of parent modules
2012-05-01 16:09:33 +02:00
Tobias Koppers
d1ea524d8f
added less loader
2012-05-01 15:47:37 +02:00
Tobias Koppers
cc31edc1e1
loader issues
2012-05-01 15:42:01 +02:00
Tobias Koppers
e3b94309da
module ids are predictable, loaders not optional anymore
2012-04-07 21:36:55 +02:00
Tobias Koppers
295be3d5bc
bugfixes, css and style loader
2012-04-07 03:20:45 +02:00
Tobias Koppers
ebd6488752
better free var filling, node.js test
2012-04-05 14:59:01 +02:00
Tobias Koppers
97ed773cb1
better loader support
2012-04-03 16:26:08 +02:00
Tobias Koppers
87d681f8d2
do not use http and vm replacement by default, let the user choose
2012-03-27 04:26:53 +02:00
Tobias Koppers
9ae768b774
small fix
2012-03-27 00:34:53 +02:00
Tobias Koppers
a29a823305
added loader support
2012-03-27 00:00:32 +02:00
Tobias Koppers
be306cfaf6
typeof require supported
2012-03-26 14:49:03 +02:00
Tobias Koppers
ef17f69cfa
fixed polyfill in client code
2012-03-21 12:41:03 +01:00
Tobias Koppers
528d119391
bugfixes
2012-03-19 20:13:33 +01:00
Tobias Koppers
4c6fa00428
better error handling, added conditional (?: operator) support, some docs
2012-03-19 19:59:38 +01:00
Tobias Koppers
f5651c8fa8
added alias, added support for http/vm-browserify
2012-03-16 13:59:19 +01:00
Tobias Koppers
8a8c8b08ee
bugfixes and optimize
2012-03-15 23:01:42 +01:00
Tobias Koppers
d7ad8b72eb
added automatic polyfills for process and modules. added some buildin modules
2012-03-15 14:38:55 +01:00
Tobias Koppers
4c0f2244c0
fixed output of deps
2012-03-15 00:21:52 +01:00
Tobias Koppers
6d1a7a77d6
nice output
2012-03-15 00:05:29 +01:00
Tobias Koppers
0bc303cbf3
allow require as identifier to convert to require.context(".")
2012-03-14 16:33:46 +01:00
Tobias Koppers
b675c7f13b
fix *nix paths
2012-03-12 18:12:35 +01:00
Tobias Koppers
85afe5214f
print origial require string as comment into file
2012-03-12 00:30:54 +01:00
Tobias Koppers
c34fcd16db
parse new (xxx) too
2012-03-11 22:45:21 +01:00
Tobias Koppers
36e1de21ad
even smaller overhead without code splitting
2012-03-11 22:27:32 +01:00
Tobias Koppers
c4b8c12275
bug fixes
2012-03-11 22:16:24 +01:00
Tobias Koppers
911517f375
formatting, license
2012-03-11 21:50:55 +01:00
Tobias Koppers
14b42ac18b
added contexts, docs and examples
2012-03-11 21:37:18 +01:00
Tobias Koppers
2e1460036c
Initial commit
2012-03-10 13:11:23 +01:00