Commit Graph

382 Commits

Author SHA1 Message Date
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
evilebottnawi 09197da090 feat: `bigint` for the `DefinePlugin` plugin 2020-03-09 10:57:22 +01:00
evilebottnawi 784ff508d0 feat: `bigint` for the `DefinePlugin` plugin 2020-03-09 10:57:14 +01:00
evilebottnawi 1308ae7e8e feat: `bigint` for the `DefinePlugin` plugin 2020-03-09 10:57:05 +01:00
Tobias Koppers a995a335f4
add missing argument check 2020-03-02 16:05:43 +01:00
evilebottnawi f4ba449130 fix: negative zero for DefinePlugin 2020-03-02 16:49:59 +03:00
jamesgeorge007 bebc55b7a1 chore: rephrase JSDoc comment 2020-01-23 14:24:36 +05:30
jamesgeorge007 cc85a27955 chore: rephrase comment 2020-01-23 14:20:53 +05:30
jamesgeorge007 52422ad14a refactor: prefer destructuring approach 2020-01-23 14:18:14 +05:30
Gergely Nagy aea4fd97b5 do not evaluate constants in asm.js, fix IIFE mode detection
fixes #10283
2020-01-22 15:41:45 +01:00
Tobias Koppers 6400fd42b4
Merge pull request #10139 from yurynix/relative-dir-runtime-chunk-loading
Make inner folder entrypoints able to require common chunks
2020-01-17 11:39:52 +01:00
Tobias Koppers 2350d09680 move chunk filename template logic into reusable function 2020-01-16 15:40:44 +01:00
Tobias Koppers b398814628 cache module wrappers in memory 2019-12-19 14:26:27 +01:00
Tobias Koppers 782e4535ac Refactor how exportsType work
add flagged exportsType for __esModule flagged
add getExportsType to merge strict with exportsType
move CommonJsStuffPlugin into CommonJsPlugin
split CommonJsPlugin into imports and exports part
enable minimal tree shaking for CommonJs imports and exports
2019-12-06 11:13:08 +01:00
Tobias Koppers ab8a768cac remove module.id and loaded shortcuts and only include them when used 2019-12-06 11:09:43 +01:00
Sergey Melyukov f212d3c30e pr comments 2019-12-03 18:11:46 +03:00
Sergey Melyukov faf784b6ab refactor hop runtime helper 2019-12-03 16:27:39 +03:00
Sergey Melyukov ba306b6f2c Merge remote-tracking branch 'upstream/master' into optimize-webpack-runtime-size 2019-12-02 19:54:21 +03:00
Sergey Melyukov 6b59d113a4 optimize webpack runtime size 2019-12-02 17:59:37 +03:00
Tobias Koppers 2f3da77d38 Introduce a Parser base class to improve Parser types
Parser.parse must be always sync
make JSON and WASM modules strict

fix inherit-types tooling to omit static methods
2019-11-30 01:36:28 +01:00
Sergey Melyukov bdc61abf82 refactor: merge generators in asset modules 2019-11-26 15:42:37 +01:00
Tobias Koppers fe67677f55 offer cached methods to get chunk modules by source type 2019-11-20 11:20:34 +01:00
Sergey Melyukov a214be41a0 add deprecation codes 2019-11-14 17:03:15 +03:00
Tobias Koppers 5abf55b1af allocate presentationalDependencies array only when needed 2019-11-10 21:05:28 +01:00
Tobias Koppers ed81ad0fa4 allocate warnings and errors arrays only when needed 2019-11-10 21:05:16 +01:00
Tobias Koppers efe0c2e610 avoid creating arrays in getConnections 2019-11-10 21:05:05 +01:00
Tobias Koppers 84b6817f60 consistency and bugfixes for reexporting json 2019-11-05 10:39:12 +01:00
Tobias Koppers 90c2392b29 fix bug where importing variables with special free names is broken 2019-10-30 13:06:53 +01:00
Tobias Koppers a877cd51d1 add presentational dependencies which are cheaper, but allow only templating 2019-10-30 07:49:20 +01:00
Tobias Koppers 8d46b21fad add Dependency.getCondition and conditional ModuleGraphConnections
getDependencyReference is no longer used to check of connection
2019-10-30 07:48:32 +01:00
Tobias Koppers acff6ec992 move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
evilebottnawi 8198ffb3e6 refactor: code 2019-10-22 00:14:05 +02:00