alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
Sean Larkin
fa4cbf11a1
add more module type constants, use them across codebase
2023-03-31 10:56:32 -07:00
Tobias Koppers
acff6ec992
move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory
2019-10-22 09:27:52 +02:00
Tobias Koppers
3cbdb703fc
NullFactory is not required
2019-08-07 16:14:03 +02:00
Tobias Koppers
0232674f9c
Initial runtime module work
2018-11-29 16:03:32 +01:00
Tobias Koppers
eb28697419
move magic property names on __webpack_require__ into RuntimeGlobals file
2018-11-05 15:28:34 +01:00
Florent Cailhol
d881bb4c8f
Add types to various plugins
2018-11-02 21:06:35 +01:00
Tobias Koppers
c21d59f783
Merge tag 'v4.17.0' into next
...
4.17.0
2018-08-21 11:02:16 +02:00
Mihail Bodrov
1f954b4f12
Get rid typeof undef in all lib
2018-08-21 03:26:50 +03:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
5bc6b8d50e
Rename ParserHelpers into JavascriptParserHelpers
2018-07-03 14:08:43 +02:00
Florent Cailhol
6097c5f993
Destructure parser helpers
2018-07-03 14:08:43 +02:00
Florent Cailhol
30dfe09020
Disable RequireJS plugin
2018-06-26 10:59:42 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
9669c9e013
Use Parser#hooks instead of Tapable#plugin
2017-12-21 09:08:10 +01:00
Florent Cailhol
c8e60b4322
Update Parser helpers to be compatible with hooks
2017-12-15 17:08:49 +01:00
Florent Cailhol
08ddad2e10
Replace NormalModuleFactory#plugin() calls
2017-12-14 14:42:49 +01:00
Tobias Koppers
30c9dd05b0
remove `__webpack_require__` requirement from some ConstDependencies
...
fixes #5707
2017-12-13 11:14:00 +01:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +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
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
8a737f33f0
emit correct code for requirejs.onError
2017-07-07 10:27:38 +02:00
Tim Sebastian
f46dac81c0
fix issue where `requirejs.config()` would be evaluated to `;` instead of `undefined`
...
this may lead to potential Syntaxerrors as `const x = requirejs.config();` would be transformed to `const x = ;;`
2017-01-21 13:51:35 +11:00
Tim Sebastian
965b7261fa
move more ConstDependencies to `toConstantDependency`
2017-01-21 13:51:35 +11:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Chris Heikkinen
ea966dcb34
refactor of RequireJsStuffPlugin to es6 ( #3823 )
2017-01-07 10:05:02 -06: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
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
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
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
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
a70f91499a
Allow mixing different webpack versions
2014-06-18 10:59:54 +02: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
64af867150
added require.js stuff, fixed progress
2013-02-13 21:24:00 +01:00