Jason Quense
3215e2ccde
fix tests
2017-02-20 11:09:20 -05:00
Jason Quense
9afd2897a5
Add resolver result to module callback
2017-02-20 10:22:17 -05:00
Simon Legner
e3be39c49a
NormalModuleFactory: link to doc in error message
...
Add link to migrating guide when omitting the '-loader' suffix.
2017-02-07 09:03:57 +01:00
Tobias Koppers
4cae3f4987
generate loader ident automatically
...
pass ident outside of option object
commit based on work from @timse #4073
2017-01-26 01:27:00 +01:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Joe Bateson
a8bb6cdb1c
refactor(es6): Replace object-assign polyfill with native method ( #3608 )
2016-12-28 13:07:28 -06:00
Tobias Koppers
f4ab7fc7e2
more performance improvements
2016-12-14 16:22:54 +01:00
Tobias Koppers
da29d21ae4
performance improvements
...
breaking change: Module has now a "unbuild" method that must work correctly
2016-12-14 16:22:16 +01:00
Tobias Koppers
adb1a1b4d8
reformat to make beautify happy
2016-12-14 13:57:51 +01:00
Tobias Koppers
980c2a9c85
add test cases and fixes overwrite
2016-12-14 13:27:33 +01:00
Sean Larkin
643e52edf9
chore(nmf): cleanup duplicate query parse logic
2016-12-08 09:57:47 -06:00
Sean Larkin
1999af3ef6
feature(alias): allow loader query to be used for aliased loader
2016-12-08 02:58:56 -06:00
Tobias Koppers
f4adee3e9d
Merge pull request #3360 from webpack/bugfix/loader-options-remaining-request
...
fixes a bug in which complex options are not passed through chain
2016-11-23 22:28:45 +01:00
Tobias Koppers
efa3fc058b
added resourceQuery condition
...
added function use to schema
2016-11-23 12:12:32 +01:00
Tobias Koppers
5f9dd3c219
fixes a bug in which complex options are not passed through chain
2016-11-23 12:11:07 +01:00
John Schulz
0f69d67a5a
Update `-loader`error message
...
`-loader` is a suffix, not a prefix. A prefix goes at the beginning of a word, and a suffix goes at the end.
2016-11-15 16:05:43 -08:00
Tobias Koppers
5803fd7fe3
display a note about the breaking change when forgot the -loader prefix
2016-11-14 21:25:26 +01:00
Markus Kramer
9c5c6df64f
replaced calls to Object.assign with objectAssign to support node 0.12.x ( #3080 )
2016-09-30 09:24:05 -05:00
Tobias Koppers
4d9d79c57e
renamed enforce left/right to pre/post
2016-09-20 19:39:07 +02:00
Tobias Koppers
a53799c0ac
use new RuleSet matching instead of LoadersList
...
pass issuer via contextInfo
2016-09-15 00:22:10 +02:00
Tobias Koppers
ec262a4007
refactoring: moved parser instancation into NormalModuleFactory
...
breaking change: compiler.parser must no longer be used. Use this instead:
``` js
compiler.plugin("compilation", function(compilation, params) {
params.normalModuleFactory.plugin("parser", function(parser, parserOptions) {
parser.plugin(/* ... */);
});
});
```
required for #2978
2016-09-15 00:22:10 +02:00
Tobias Koppers
711a3822fa
refactor ModuleFactory to take an object instead of multiple arguments
2016-07-20 12:51:03 +02:00
Tobias Koppers
d5a24ced67
fixed #2006
2016-02-09 19:32:50 +01:00
Tobias Koppers
e52b7b2e4d
Resolve loaders from configuration relative to context instead of resource
2016-02-03 22:01:58 +01:00
Tobias Koppers
205d08cac5
fixes and performance improvements
2016-01-26 17:56:44 +01:00
Tobias Koppers
f9ade28a9e
allow to pass context info
2016-01-25 18:28:56 +01:00
Tobias Koppers
fecf07dd1f
integrated new enhanced-resolve version
2016-01-03 21:42:56 +01:00
Tobias Koppers
461c49ab66
updated partly to new enhanced-resolve API
2016-01-02 00:21:54 +01:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00
Tobias Koppers
3201dc333d
Merge branch 'webpack-1'
...
Conflicts:
lib/NormalModuleFactory.js
package.json
2015-11-13 21:58:38 +01:00
Tobias Koppers
6b60662068
performance improvement
2015-11-13 21:55:41 +01:00
Tobias Koppers
7cbd78c1da
Merge branch 'master' into webpack-2
...
Conflicts:
.travis.yml
bin/config-optimist.js
test/statsCases/define-plugin/expected.txt
2015-09-19 20:11:48 +02:00
Ahmet Katrancı
8ff6cb5fed
Report constructor correctly when inheriting from Tapable
2015-08-18 12:35:57 +01: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
Tobias Koppers
66df34688e
Merge branch 'master' into webpack-2
...
Conflicts:
bin/convert-argv.js
lib/webpack.js
2015-06-07 22:24:03 +02:00
Tobias Koppers
817e678d9a
added DllPlugin and dll example
2015-05-16 18:27:59 +02:00
Tobias Koppers
11a578a36b
Merge branch 'master' into webpack-2
...
Conflicts:
lib/NormalModuleFactory.js
2015-05-16 14:59:50 +02:00
Tobias Koppers
5a5b732785
refactored ExternalsPlugins to plugin based approach
...
instead of decorator
2015-05-13 00:15:01 +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
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
4a8bf92349
loader regExp compares to resourcePath instead of resource
...
#729
2015-03-05 21:45:08 +01:00
Tobias Koppers
d80cdcefac
Code Quality
2014-06-24 18:53:32 +02:00
Tobias Koppers
90daea5fdd
pass context to after-resolve hook
2014-05-28 06:31:11 +02: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
7a665410ca
added IgnorePlugin, fixed replacement plugins
2013-11-05 18:19:04 +01:00
Tobias Koppers
52b40b3798
allow loaders to load modules
...
fixed templates readable name
2013-10-28 16:21:29 +01:00
Tobias Koppers
074a26efb5
Performance #106
2013-10-14 13:59:44 +02:00
Tobias Koppers
3315480432
fixed some bugs
2013-02-13 13:00:01 +01:00
Tobias Koppers
68ee0a6537
some bugfixes and fallback option
2013-02-04 13:59:43 +01:00
Tobias Koppers
ee01837d66
Refactored everything for 0.9
2013-01-30 18:49:25 +01:00