Ivan Kopeykin
|
35c56e67ae
|
refactor how asi handled
- add asiSafeExpression helper for JavascriptParser
- use asiSafe flag in DefinePlugin
- try to use (...) instead of Object()
|
2020-08-28 19:46:56 +03:00 |
Tobias Koppers
|
6178aea763
|
improve typings and test them in CI
lazy load all webpack exports
|
2020-04-21 09:25:43 +02:00 |
Mohsen Azimi
|
7b07a8db66
|
Upgrade to Prettier 2
|
2020-03-28 18:20:24 -04:00 |
Tobias Koppers
|
994b47faa6
|
formating, use real big number
|
2020-03-09 10:59:31 +01:00 |
evilebottnawi
|
43713d49f6
|
feat: `bigint` for the `DefinePlugin` plugin
|
2020-03-09 10:57:27 +01:00 |
evilebottnawi
|
cf63c38280
|
feat: `bigint` for the `DefinePlugin` plugin
|
2020-03-09 10:57:25 +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 |
evilebottnawi
|
f4ba449130
|
fix: negative zero for DefinePlugin
|
2020-03-02 16:49:59 +03:00 |
mattp94
|
28fb5a80e6
|
feat(DefinePlugin): Support array as value in DefinePlugin
|
2019-11-08 13:31:06 +01:00 |
Tobias Koppers
|
ee3e8da508
|
export classes from webpack, and use them in webpack configs
|
2019-10-09 17:11:34 +02:00 |
Tobias Koppers
|
babe736cfa
|
replace prefix/postfix even when equal for wrapped context
walk inner expressions in wrapped context
add tracking of inner expressions in wrapped BasicEvaluatedExpression
fixes #8293
closes ##8337
|
2018-11-05 15:17:56 +01:00 |
Franck Freiburger
|
dcd0d59d62
|
test for #8293
|
2018-11-05 14:02:00 +01:00 |
Franck Freiburger
|
a640cd05b3
|
- update/enhance the test
|
2018-10-31 09:28:42 +01:00 |
Franck Freiburger
|
a093cfa158
|
run eslint --fix
|
2018-10-30 17:31:09 +01:00 |
Franck Freiburger
|
979320e519
|
- add a test for PR#8306
|
2018-10-30 17:00:45 +01:00 |
Bazyli Brzóska
|
61a3bff835
|
fix istanbul crash
|
2018-04-11 22:23:02 +02:00 |
Bazyli Brzóska
|
b579658d22
|
Merge branch 'profiling-race' into jest
# Conflicts:
# lib/debug/ProfilingPlugin.js
# test/ConfigTestCases.test.js
# test/DependenciesBlockVariable.unittest.js
# test/Examples.test.js
# test/ExternalModule.unittest.js
# test/HotTestCases.test.js
# test/Schemas.lint.js
# test/WebEnvironmentPlugin.unittest.js
# test/cases/mjs/non-mjs-namespace-object-lazy/index.js
# test/cases/runtime/module-caching/index.js
# test/compareLocations.unittest.js
# test/configCases/library/1-use-library/index.js
# test/configCases/plugins/define-plugin/index.js
# yarn.lock
|
2018-03-07 21:56:06 +01:00 |
Josh Soref
|
632bd3d3ad
|
spelling: recursively
|
2018-02-26 02:41:26 +00:00 |
Josh Soref
|
7fcc1d0902
|
spelling: brackets
|
2018-02-26 02:25:27 +00:00 |
Bazyli Brzóska
|
36e8e30875
|
run prettier on existing code
|
2018-02-25 11:46:17 +01:00 |
Tobias Koppers
|
5238159d21
|
run prettier on existing code
|
2018-02-25 02:00:20 +01:00 |
Bazyli Brzóska
|
a6c2aca36f
|
migrate should to expect, part 2 (manual)
|
2018-01-26 23:59:38 +01:00 |
Bazyli Brzóska
|
5a8083a930
|
migrate should to expect, part 1
used regexps:
([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\.should\.be\.eql
➡️
expect($1).toBe
expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\[
➡️
expect($1).toEqual([
expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\{
➡️
expect($1).toEqual({
|
2018-01-26 22:51:03 +01:00 |
Tobias Koppers
|
22cd80e73b
|
add test case
|
2017-07-07 11:55:33 +02:00 |
Tobias Koppers
|
8e4c8423b5
|
accept truthy/falsy value for not
fix #5100
|
2017-06-20 15:58:24 +02:00 |
Tobias Koppers
|
bc867632e5
|
removed not needed nesting
|
2017-02-08 09:03:47 +01:00 |
Tim Sebastian
|
99b8af4dfd
|
add regression test to prevent endless evaluation loops in define plugin
|
2017-02-06 22:44:39 +11:00 |
Tobias Koppers
|
0b7775eecd
|
add test case to test for brakets
|
2017-01-26 00:19:00 +01:00 |
kagawagao
|
8b1f5f757f
|
add test case for DefinePlugin
|
2017-01-19 01:12:16 +08:00 |
Tobias Koppers
|
8e69a80847
|
code linting
|
2017-01-11 12:29:01 +01:00 |
Tobias Koppers
|
e4dfd201f1
|
add test cases for #3235
|
2016-11-16 13:47:03 +01:00 |
Tobias Koppers
|
6d183d4044
|
fix more tests
|
2015-03-05 22:58:03 +01:00 |
Tobias Koppers
|
2f3e0aea72
|
remove (...) from DefinePlugin.
#729
|
2015-03-05 21:49:22 +01:00 |
Tobias Koppers
|
3d153efe27
|
better handling of nested vars in Define and Provide
fixes #812
|
2015-02-28 00:26:44 +01:00 |
Tobias Koppers
|
196db0743d
|
allow undefined, RegExp and objects in DefinePlugin
merged #807 and #791
|
2015-02-21 13:20:57 +01:00 |