Commit Graph

80 Commits

Author SHA1 Message Date
Johannes Lumpe acccd86256 Fixed linting issue 2016-02-29 11:07:14 +02:00
Johannes Lumpe 894be00b2f Update convert-argv.js
Removed old code
2016-02-29 10:25:21 +02:00
Johannes Lumpe fe71cde0d9 Update convert-argv.js
Allow usage of ES6 default exported function for config
2016-02-29 10:23:44 +02:00
Tobias Koppers aa55d80925 fixed detection of output.filename 2016-01-19 19:35:05 +01:00
Kenny Tran eebc5ceaf6 Fix no-redeclare in code 2016-01-18 18:57:42 -08:00
Tobias Koppers 2e5a5f9db3 more pretty CLI options, added --verbose option 2016-01-14 21:21:09 +01:00
Tobias Koppers 46b12b2095 better ProgressPlugin and fixed bug for multi-compilation 2016-01-09 23:48:37 +01:00
Lex Vjatkin 01e7a7cb95 JS API: ProgressPlugin default handler
Default handler moved from CLI args parser to plugin itself.
Now you can use ProgressPlugin in JS API without specifying handler.

Resolves webpack/webpack#1000, SRP
2015-12-10 14:06:20 +01:00
Tobias Koppers 4c86af40b2 fixed bug when --define is not set 2015-11-20 19:57:47 +01:00
Tobias Koppers 37e9515cc4 remove deprecated stuff 2015-11-20 08:37:56 +01:00
Tobias Koppers 96d3b1398e set NODE_ENV production on -p not on -d 2015-11-20 08:31:45 +01:00
Tobias Koppers 67656b90e2 split uglify-js from loader minimize, better shortcut defaults 2015-11-16 23:11:15 +01:00
Tobias Koppers bd562b4c94 support `webpackfile.js` 2015-11-16 22:16:47 +01:00
Tobias Koppers e0a6aef63a `-p` sets NODE_ENV to production 2015-11-16 22:16:32 +01:00
Tobias Koppers ff16bf4561 Merge branch 'webpack-1'
Conflicts:
	bin/config-optimist.js
	bin/convert-argv.js
	package.json
	test/browsertest/library2config.coffee
2015-11-14 16:32:54 +01:00
Tobias Koppers bb2c3558c0 Support returning Promise and ES6 default export from configuration 2015-11-14 15:34:45 +01:00
Tobias Koppers 7cbd78c1da Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	test/statsCases/define-plugin/expected.txt
2015-09-19 20:11:48 +02:00
Aarni Koskela 189423b286 CLI: Complain more clearly when output filename is missing
Fixes #1376
2015-09-08 16:44:56 +03:00
Matthew Lehner 44fc8c1b9f end when stdin closed 2015-08-25 16:00:53 -07:00
Tobias Koppers 7934faa181 Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	package.json
	test/TestCases.test.js
2015-08-09 13:32:19 +02:00
Tobias Koppers 2e2cb7497b beautify bin 2015-08-09 12:37:38 +02:00
Tobias Koppers 5f14ee4a74 error message 2015-08-09 12:23:59 +02:00
Kinka Huang 48e17ab308 support arguments input for CLI --plugin
using the parseQuery function of loader-utils, and get arguments for the
plugin in the option --plugin.
for example: `webpack --plugin DefinePlugin?{a:1,b:2}`
2015-08-09 12:18:12 +02:00
Tobias Koppers 5bbfbae551 Merge branch 'master' into webpack-2
Conflicts:
	package.json
	test/statsCases/chunks/expected.txt
2015-07-25 13:49:14 +02:00
Kamil Szot f19712f1bf Adjust to use of interpret module version 0.6 2015-07-23 12:31:56 +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
Tobias Koppers cf30eeeb0f Merge branch 'master' into webpack-2
Conflicts:
	lib/ChunkTemplate.js
	lib/Compilation.js
	lib/HotModuleReplacement.runtime.js
	test/TestCases.test.js
	test/statsCases/chunks/expected.txt
	test/statsCases/simple-more-info/expected.txt
	test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Guillermo Bonvehi 380b0665c1 Added --output-filename to be consistent with naming conventions
--output-pathinfo maps to output.pathinfo, however, output.filename is set
by --output-file instead of --output-filename.
Added the new argument while keeping the old one for compability.
2015-06-29 23:03:46 -03:00
Tobias Koppers 69b5e548d5 use multiStep HMR by default
fixed bug in runtime
2015-06-21 22:22:55 +02:00
Tobias Koppers b2f2643437 Merge pull request #1158 from miniEggRoll/master
fix config extension interpretation for .babel.js
2015-06-15 09:35:22 +02:00
mrsquid0126@gmail.com d4d012e6bc fix config extension interpret for .babel.js 2015-06-11 14:49:30 +08:00
Tobias Koppers 66df34688e Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	lib/webpack.js
2015-06-07 22:24:03 +02:00
Kenny Tran 5ffffa9d9b Fix optimize-min-chunk-size option for CLI 2015-05-31 20:42:49 -07:00
Tobias Koppers f41b103d07 fixed bug when passing entries over cli 2015-05-28 08:48:16 +02:00
Kenny Tran 7f7b6c516e Make console warnings consistent 2015-05-22 09:12:25 -07:00
Kenny Tran ef4943bff7 Fix typo in convert-argv.js 2015-05-22 09:11:47 -07:00
Tobias Koppers 11a578a36b Merge branch 'master' into webpack-2
Conflicts:
	lib/NormalModuleFactory.js
2015-05-16 14:59:50 +02:00
Tobias Koppers 89058a2c4a Reverted watch option rename:
watch -> doWatch -> watch
watchDelay -> watch -> watchOptions
watchDelay and --watch-delay are decrecated now but functional with message
watch is decrecated now but functional with message
2015-05-12 21:17:35 +02:00
Tobias Koppers ff7848369a Merge branch 'master' into webpack-2
Conflicts:
	bin/webpack.js
	package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers 297707d42d added --watch-poll
fixed webpack/watchpack#3
2015-05-10 16:41:55 +02:00
Tobias Koppers 319a8f77d6 support deprecated watchDelay 2015-05-10 14:32:16 +02:00
Tobias Koppers fd4c0042ed use new style of passing watch options 2015-05-10 14:18:12 +02:00
Tobias Koppers ed75627f06 Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	package.json
2015-04-14 20:09:29 +02:00
Tobias Koppers 9a800d5979 fixed buggy PRs for webpack.configs
fixes #956
fixes #964
2015-04-10 10:21:38 +02:00
Adam Krebs 7cc35ce10f More helpful error message if we can't find webpack config file 2015-04-08 13:59:21 -04:00
Adam Krebs 2875e402d7 Automatically pull in webpack.config files written in compile-to-js langs using interpret.extensions 2015-04-08 08:28:47 -04:00
Aleksejs Sinicins a1596fb1dc Use node-interpret to import configuration in various formats. 2015-04-06 15:22:51 +03:00
Tobias Koppers ff4585b108 allow config file to export a function
pass --env to config function
2015-03-05 22:22:22 +01:00
Tobias Koppers b31a8110b3 Throw error when output.filename is missing
#719
2015-03-05 22:21:47 +01:00
Tobias Koppers aa7885b91d removed --optimize-occurrence-order 2015-03-05 22:05:11 +01:00