Commit Graph

5427 Commits

Author SHA1 Message Date
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Tobias Koppers fcd63bc216
Merge pull request #10482 from webpack/feat-bigint-for-DefinePlugin
feat: `bigint` for the `DefinePlugin` plugin
2020-03-11 09:51:29 +01:00
Tobias Koppers b4993f1ccc
Merge pull request #10503 from joeldenning/system-esmodule
Fix externals interop within SystemLibraryPlugin.
2020-03-10 15:38:38 +01:00
Nitin Kumar 285529a643
chore: fix typos across the project 2020-03-10 07:29:46 +05:30
Tobias Koppers 712711d2a1 setters are non-optional 2020-03-09 11:03:41 +01:00
Tobias Koppers 994b47faa6 formating, use real big number 2020-03-09 10:59:31 +01: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 c94aea82cc enable export mangling for system.js externals
add __esModule flag only when needed
2020-03-05 14:07:55 +01:00
Joel Denning 3d3d20e353 sokra's feedback 2020-03-04 10:53:07 -07:00
Tobias Koppers 788ad71427
Merge pull request #10500 from webpack/chore-deps-update-eslint-plugins
chore(deps): update eslint plugins
2020-03-04 15:17:41 +01:00
evilebottnawi 93dd2b0cfb chore(deps): update eslint plugins 2020-03-04 12:37:14 +03:00
Joel Denning d3b44c96a0 Fix externals interop within SystemLibraryPlugin. 2020-03-03 19:01:00 -07: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
Tobias Koppers b1b6b42f7c
Merge pull request #10422 from webpack/dependabot/npm_and_yarn/typescript-3.8.2
chore(deps-dev): bump typescript from 3.7.5 to 3.8.2
2020-02-28 14:05:53 +01:00
Tobias Koppers bbc888db1b
Merge pull request #10411 from jamesgeorge007/hotfix/typo
chore(APIPlugin): Minor typographical fix
2020-02-28 09:53:29 +01:00
Tobias Koppers 6daf2ce243 make private property public 2020-02-28 09:50:58 +01:00
Tobias Koppers 70fc2f7392 code cleanup from review 2020-02-26 17:36:44 +01:00
Tobias Koppers ed097f08d9 fix accessWithInit helper function 2020-02-26 17:36:28 +01:00
Tobias Koppers 88e6c5e2a7 add library option to entry description 2020-02-26 17:36:16 +01:00
Tobias Koppers 39e407e927 normalize entry option and reduce normalization in EntryOptionPlugin 2020-02-26 17:36:06 +01:00
Tobias Koppers f1dd328779 refactor library system 2020-02-26 17:35:52 +01:00
Tobias Koppers bcf2f55ecb remove ChunkGraph.getOrderedChunkEntryModulesWithChunkGroup as it makes no sense 2020-02-26 17:22:46 +01:00
Tobias Koppers e5b51235d7 add externalsType option
fix a few edge cases in ExternalModule
2020-02-26 17:22:42 +01:00
Tobias Koppers bbb16e7af2 add output.uniqueName option
It defaults to library name or name from package.json in context

output.uniqueName will be used to generate unique globals for
* output.jsonpFunction
* output.chunkCallbackName
* etc.
2020-02-26 16:32:42 +01:00
Tobias Koppers d0a33e41c9
Merge pull request #10424 from lcy930323/bugfix/missing_module_template
fix(template): Syntax error caused by runtime template
2020-02-26 08:35:53 +01:00
evilebottnawi bebd874cde refactor: migrate on `mime-types` 2020-02-25 15:03:21 +03:00
Sunlight 1e9ee8ab0f fix(template): Syntax error caused by runtime template 2020-02-22 14:20:30 +08:00
Tobias Koppers 6e4b478940 improve exports hoisting in concatenated modules
#10409
2020-02-21 20:57:48 +01:00
Tobias Koppers fdeded05f4 hoist exports to the top of a concatenated module
to handle circular dependencies with non-concatenated modules

fixes #10409
2020-02-21 12:21:32 +01:00
Tobias Koppers 1882a198de update incorrect comment 2020-02-21 12:21:30 +01:00
Tobias Koppers aace364df3 avoid crashing when exports info contains a circular reference
e. g. when using

import * as self from "./self";
export { self }
2020-02-21 12:21:29 +01:00
Tobias Koppers a105b663e9 remove unneeded runtime requirements 2020-02-21 12:21:26 +01:00
Sunlight 13f7c66629 fix(template): Syntax error caused by runtime template 2020-02-21 14:44:44 +08:00
Tobias Koppers 1c228160c2
Merge pull request #10406 from webpack/schema/cleanup
improve schema and validation
2020-02-19 06:52:14 +01:00
jamesgeorge007 faa5344102 fix: typo 2020-02-19 10:28:03 +05:30
Tobias Koppers df9553b4a7 Add "did you mean" to schema validation for common errors 2020-02-18 22:55:34 +01:00
Tobias Koppers 03431d1113 from serve property from options 2020-02-18 22:55:31 +01:00
Tobias Koppers c7b94a4274 improve caching support for PnP version 3 (yarn 2 berry) 2020-02-17 20:41:16 +01:00
Tobias Koppers 6477ca56f8 Split options defaulting in normalization and defaults
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Sergey Melyukov 57807941ea feat(ProgressPlugin): save total module count on compile end and restore it before compile start 2020-02-17 15:23:14 +03:00
Tobias Koppers df2f7dfa4f
Merge pull request #10371 from wizardofhogwarts/patch-4
Branding guide violation
2020-02-14 16:35:00 +01:00
Albus Dumbledore 4571fdab69
Fix branding violation ResolverCachePlugin 2020-02-12 20:26:11 +05:30
Albus Dumbledore 466e28b312
Fix branding violation MemoryCachePlugin 2020-02-12 20:23:16 +05:30
Albus Dumbledore ed881885c3
Fix branding violation IdleFileCachePlugin.js 2020-02-12 20:21:28 +05:30
Albus Dumbledore edc7c8fcd5
Fix branding violation AddManagedPathsPlugin 2020-02-12 20:19:14 +05:30
Albus Dumbledore 24448180b0
Fix Branding violation AddBuildDependenciesPlugin 2020-02-12 20:11:30 +05:30
Tobias Koppers d426b6c679
Merge pull request #9942 from mattp94/feat/array-support
feat(DefinePlugin): Support array as value in DefinePlugin
2020-02-12 13:37:39 +01:00