PlayMa256
67651ae69d
small refactor over calls
...
Refactor back to resolve.request
Add installation if webpack-cli is not present
2018-03-09 09:32:54 +01:00
matheus.g.silva
d4115a65a7
Add installation if webpack-cli is not present
2018-03-09 09:13:33 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
0d533b860f
replace tab with space
2018-01-03 21:06:04 +01:00
Tobias Koppers
e3f1002f90
fix linting
2018-01-03 19:56:23 +01:00
Tobias Koppers
1886b7a5cb
Merge branch 'master' into next
...
# Conflicts:
# bin/webpack.js
# lib/Compilation.js
# yarn.lock
2017-12-29 11:17:10 +01:00
Wèi Cōngruì
3823eae5b0
Use process.exitCode instead of process.exit in compilerCallback
2017-12-26 13:54:26 +08:00
Tobias Koppers
272a632ea7
webpack-cli should be added as devDependency
2017-12-13 15:05:12 +01:00
Tobias Koppers
079b5f6275
remove dependencies, ask for installing webpack-cli when using the CLI
2017-12-13 11:58:37 +01:00
Even Stensberg
cdefea844e
update dependency
2017-12-06 01:46:58 +01:00
Even Stensberg
4b0332d390
sync webpack-cli with changes in bin/* and binCases
...
remove old bin code
try using the cli folder for bInTestCases
update folders in binTestCases
increase callback timeout to see if that helps
update cli-dep
remove redundant console.log
2017-12-06 01:45:43 +01:00
Sergey Petushkov
6d7df9daad
Add marker fn; Refactor cutOff method; Check error when options are parsed
2017-11-27 08:43:27 +01:00
Sergey Petushkov
b0fe0138ee
Add error helpers; Add try-catch to options evaluation
2017-11-25 21:49:59 +01:00
Michael Ciniawsky
a88fdc74bf
refactor(bin/webpack): use `err.name` for error handling
2017-11-07 10:37:09 +01:00
Joe Bottigliero
33223aa3d4
[ #4886 ] --env output
...
- Adds stats.env to enable the out put of --env arguments passed to the webpack configuration.
2017-10-11 20:37:30 -05:00
Tobias Koppers
2acaf76dc3
Merge branch 'master' into fix-help-output-test-5345
...
# Conflicts:
# bin/webpack.js
2017-08-07 09:02:43 +02:00
Tobias Koppers
20d6f23d0a
stay with the old code style
2017-08-07 08:57:49 +02:00
Tobias Koppers
7a7c8372c3
Use yargs.parse instead of exitProcess(false)
...
This is simpler and less hacky
2017-08-07 08:55:56 +02:00
Esben Petersen
1fa2ba750c
fix beautify test
2017-08-04 10:17:07 +02:00
Tomáš Polomský
bb7d69def0
Fix exit code and ELIFECYCLE error
...
Due to race condition (process.exit() called multiple times) sometimes process fails with error ELIFECYCLE. In that case process exits with exit code 0 but should exit with exit code 2. This change ensures that the race condition can not happened.
2017-07-25 17:20:16 +02:00
Esben Petersen
1daa844d56
add check for validation errors top stop normal cli flow
...
see #5345
2017-07-24 22:38:18 +02:00
Esben Petersen
0c5725423d
stop yargs from exiting process and to fix failing help-output test
...
closes #5345
2017-07-24 21:00:55 +02:00
Tobias Koppers
94d2d24f67
minor fixes
2017-06-09 17:29:47 +02:00
Tobias Koppers
e343164ca3
fix issue with --display-modules and --optimization-bailout
2017-06-06 10:20:07 +02:00
Tobias Koppers
0f16dd95b1
fixes incorrect CLI stats output
...
add "detailed" preset
clean up presets to do more useful stuff
fixes #4141
fixes #4118
2017-06-01 15:03:26 +02:00
Tobias Koppers
d8539561fd
add optimization bailout info
...
track optimization bailout in concat plugin
2017-05-28 15:25:07 +02:00
Simon Legner
ea4be07d45
Link documentation to webpack.js.org
...
Replaces webpack.github.io links with links to the new documentation.
2017-02-07 10:07:01 +01:00
Tim Sebastian
18e962028e
remove leftovers of jam already removed in 4c7c929096
2017-01-31 23:26:46 +11:00
Tobias Koppers
b946eb423a
Merge pull request #3988 from malstoun/bug/2664
...
Fix regression with watch cli opt, add tests for this case
2017-01-17 19:28:54 +01:00
Andrey
0ec7de9fae
Fix regression with watch cli opt, add tests for this case
2017-01-17 16:25:55 +03:00
Sean Larkin
91c1f35e05
fix(node): rollback changes of Buffer.from to new Buffer() and bump down travis to 4.3 min node v
2017-01-16 23:57:27 -06:00
Tobias Koppers
82a5b03154
Merge pull request #3977 from malstoun/bug/2664
...
Fix watch when config is an array of objects
2017-01-16 15:53:08 +01:00
Andrey
e5308d1279
Fix watch when config is an array of objects
2017-01-15 12:04:29 +03:00
J Bruni
4957a0b737
Fixes #3946 (stats options being ignored)
2017-01-14 18:43:12 -02:00
Tobias Koppers
784af506a3
linter fixes
2017-01-11 15:54:40 +01:00
Tobias Koppers
f1d56dcc74
add support for multiple different stats objects
2017-01-11 14:37:47 +01:00
Tobias Koppers
19c7260b57
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2017-01-11 12:47:37 +01:00
Tobias Koppers
983da1972f
Revert "Timestamp & Save flag"
2017-01-11 11:45:15 +01:00
Sean Larkin
ea2274a82f
fix bad logic and created additional test to cover
2017-01-10 12:02:24 -06:00
Sean Larkin
03d37489fe
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2017-01-10 10:27:29 -06:00
Even Stensberg
8a07d4c1dd
Adds timestamp & save flag ( #3576 )
2017-01-06 08:25:53 -06:00
Ryan Berdeen
095e28012f
Exit with error when config promise is rejected
2017-01-04 16:33:00 -05:00
Sean Larkin
7327ee608a
chore(eslint): added eslint-node-plugin ( #3652 )
2016-12-30 17:13:49 -06:00
Sean Larkin
9014901b9c
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2016-12-29 14:34:02 -06:00
Kees Kluskens
644e3a009b
Upgrade eslint ( #3626 )
...
* Upgrade eslint
* Pin down eslint version
* Temporary fix for difference between js-beautify and eslint
js-beautify suddenly requires a space between `while` here,
but everywhere else we use it without space.
* Remove redundant rules (present in eslint:recommended)
* Add rules comparable to js-beautify rules to eslint
* Add some forgotten files
* Ugh, fix some differences between eslint and js-beautify the nuclear way
* Add back variables
2016-12-29 10:10:41 -06:00
Tobias Koppers
71cf49a259
add depth to module
...
add depth to stats
fix stats spacing (fixes #3541 )
add maxModules to stats, default to 15 (fixes #3540 )
2016-12-21 18:03:20 +01:00
Sean Larkin
ce49851a43
chore(stats): remove comment, add semicolon, swap map with forEach
2016-12-20 02:23:03 -06:00
Sean Larkin
a4106ea98f
fix(stats): allow stats to respect config for MultiCompiler, MultiStats
2016-12-19 16:53:30 -06:00
Tobias Koppers
e7087ffeda
exit correctly when a fatal error happens
...
fixes #3464
2016-12-14 13:50:35 +01:00
Tobias Koppers
287eb18076
fixes typo, fixes #3379
2016-11-28 16:57:01 +01:00