Tobias Koppers
a27ef326d5
Upgrade tapable in ModuleFactories
2017-11-28 09:54:24 +01:00
Tobias Koppers
5a4f0aca67
change imports of tapable to old version
...
prepare to migrate to new tapable version
2017-11-27 20:56:42 +01:00
Tobias Koppers
5e39ec46ee
Allow to override resolve configuration
2017-11-18 08:12:35 +01:00
Tobias Koppers
00f2b5ede7
advanced module type refactoring
...
added json type
.mjs default to javascript/esm type
adjusted parser plugins to react on module type
2017-11-11 19:27:19 +01:00
Tobias Koppers
0ae5fede3d
move parser creation into separate plugins
2017-11-10 11:36:46 +01:00
Tobias Koppers
41a1d602e1
added WebAssembly Proof of Concept
2017-11-10 09:17:11 +01:00
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
794b883f0a
Merge branch 'next' into deprecation/webpack-3
2017-09-22 14:30:04 +02:00
Tobias Koppers
7ceac63f07
add support for pure modules
2017-09-14 09:44:42 +02:00
Tobias Koppers
4105297de6
Merge branch 'next' into deprecation/webpack-3
2017-09-11 11:26:44 +02:00
Tobias Koppers
874fac5337
tapable update and performance
2017-08-08 09:44:10 +02:00
Tobias Koppers
45301b7dc6
rewrite code to no longer require `beautify preserve`
2017-07-24 11:54:58 +02:00
Tobias Koppers
9cf6d51df6
disallow module.loaders
2017-06-14 14:42:31 +02:00
SendilKumar N
cd688f84da
changing async to asyncLib
2017-04-05 21:06:23 +08:00
Sergey Melyukov
3ebcf71e8e
let to const in NormalModuleFactory
2017-04-04 11:27:36 +03:00
Sergey Melyukov
7c4883c103
ES6 refactoring in NormalModuleFactory
2017-04-04 00:28:08 +03:00
Tobias Koppers
584f4da4a3
Merge pull request #4500 from timse/make-ignored-relative
...
Make ignored relative
2017-04-03 17:00:15 +02:00
Jan-André Zinser
983904cfa3
Provide context to resolve again
...
Brings the old behaviour back that was removed in da29d21ae4
2017-04-02 20:48:39 +02:00
Tim Sebastian
ce5e3e1e8d
remove unused path from normalmodulefactory
2017-03-23 21:48:13 +11:00
Tim Sebastian
62229f5302
make path ignored before it goes to records, prevent to have to do it in NMF
2017-03-23 00:05:15 +11:00
Tim Sebastian
8165522e81
add formatting
2017-03-18 00:35:05 +11:00
James Tautges
a368ed1f8c
Use relative instead of resolve
2017-03-17 21:33:31 +11:00
James Tautges
a4cf604a4a
Relativize ignore module paths
2017-03-17 21:33:31 +11:00
Tobias Koppers
479a0a4b7b
Merge pull request #4189 from webpack/feature/child-plugins
...
child compiler features
2017-02-22 15:01:08 +01:00
Tobias Koppers
fbf84d51f2
allow to apply plugins to child compiler
...
allow to match on compiler name in rules
#4177
2017-02-22 11:49:49 +01:00
Tobias Koppers
ed8acd4bb9
change way how resourceResolveData is passed
2017-02-21 09:34:07 +01:00
Jason Quense
df71a073b5
rename property; lint issue
2017-02-20 11:48:48 -05:00
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