Tobias Koppers
b21db812bc
fixed test
2016-09-20 19:39:20 +02:00
Tobias Koppers
8a373442c9
fixed oneOf in rules
2016-09-20 19:39:15 +02:00
Tobias Koppers
4d9d79c57e
renamed enforce left/right to pre/post
2016-09-20 19:39:07 +02:00
Tobias Koppers
cda34a1458
quote coverage task
2016-09-20 18:10:55 +02:00
Tobias Koppers
97970f7bbd
node 4 sometimes fails to npm install
2016-09-20 18:03:58 +02:00
Tobias Koppers
506170f45d
Merge pull request #3024 from gajus/feature/use-json-schema-to-validate-webpack-config
...
Use anyOf in place of oneOf where intended
2016-09-20 17:37:48 +02:00
Tobias Koppers
2ef676271f
Merge pull request #3025 from bransbury/patch-1
...
Docs - update deprecated cssnext link
2016-09-20 17:29:30 +02:00
Marcus Bransbury
8112331348
Docs - removed cssnext for postcss-loader
...
Link to postcss plugins also added
2016-09-20 16:25:45 +01:00
Marcus Bransbury
bc6b916873
Update deprecated cssnext link
...
Deprecated link (https://github.com/MoOx/cssnext-loader ) updated to new link (https://github.com/MoOx/postcss-cssnext )
2016-09-20 13:54:56 +01:00
Gajus Kuizinas
1c136db956
fix: use anyOf in place of oneOf where intended
2016-09-20 11:37:16 +01:00
Gajus Kuizinas
96fedd9124
style: indent json using rules in editorconfig; sort keys
...
See 8c3d97d933 (commitcomment-19093805)
2016-09-20 11:36:08 +01:00
Tobias Koppers
8292d2f659
2.1.0-beta.23
2016-09-20 01:02:08 +02:00
Tobias Koppers
7d52b00bd4
updated schema for removed pre and post loaders
2016-09-20 00:54:46 +02:00
Tobias Koppers
b2e8f96f2c
updated tests for removed pre and post loaders
2016-09-20 00:54:35 +02:00
Tobias Koppers
52cf8a1209
consistent order in MultiCompiler
2016-09-20 00:20:16 +02:00
Tobias Koppers
592340c215
updated examples
2016-09-20 00:20:04 +02:00
Tobias Koppers
6c38cf9854
fixes to tests and examples
2016-09-20 00:19:55 +02:00
Tobias Koppers
25cab58eb3
fixed some standard linting issues
2016-09-20 00:19:39 +02:00
Tobias Koppers
3943a95c40
don't enforce eol as git checkout crlf on windows
2016-09-20 00:19:10 +02:00
Tobias Koppers
7cfc04dab8
reordered package.json scripts
2016-09-20 00:18:38 +02:00
Moorthy Venkatraman
e6cbe8089a
Merge branch 'add-editorconfig-validation' of https://github.com/willmendesneto/webpack into willmendesneto-add-editorconfig-validation
...
# Conflicts:
# .editorconfig
2016-09-19 22:19:33 +02:00
Tobias Koppers
595de75fdc
Merge pull request #3007 from asarode/master
...
Support multiple config compiler flags (#2835 )
2016-09-19 22:08:29 +02:00
Moorthy Venkatraman
b3e901d1fc
remove defaulter
2016-09-19 22:03:09 +02:00
Moorthy Venkatraman
95c0602df5
updated dll example
2016-09-19 21:58:16 +02:00
Tobias Koppers
c675067bcf
fixed some validation stuff
2016-09-19 21:57:12 +02:00
Tobias Koppers
f1446232c6
Merge branch 'moo3-webpack/2892'
2016-09-19 21:57:05 +02:00
Moorthy Venkatraman
be39508aa2
Supplying extensions when constructing DllReferencePlugin
2016-09-19 21:56:02 +02:00
Tobias Koppers
c948c81f3e
added harmony test case
2016-09-19 21:13:32 +02:00
Tobias Koppers
808b32ac61
added test cases for extract-text-plugin
2016-09-19 21:13:32 +02:00
Tobias Koppers
159ed351e6
Merge pull request #3016 from SpaceK33z/upgrade-uglifyjs
...
Update uglify-js dep
2016-09-19 20:54:46 +02:00
Kees Kluskens
2b0973b98e
Update uglify-js dep
2016-09-19 20:03:56 +02:00
Tobias Koppers
9ad33d92db
Merge pull request #3013 from gajus/feature/use-json-schema-to-validate-webpack-config
...
Add schemas to package.json files
2016-09-19 16:55:16 +02:00
Gajus Kuizinas
6b9c449497
fix: add schemas to package.json files
2016-09-19 15:50:22 +01:00
Tobias Koppers
40a67f632c
Merge branch 'gajus-feature/use-json-schema-to-validate-webpack-config'
2016-09-19 00:55:00 +02:00
Tobias Koppers
8c3d97d933
add test
...
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
arjun
19c739568e
Make configFiles always be an array
2016-09-18 11:08:01 -07:00
Tobias Koppers
f9b81a7509
make sure module moving don't hang in circular chunk dependencies
...
fixes #2990
2016-09-18 10:30:05 +02:00
arjun
77ec1fdb71
Support multiple config compiler flags
2016-09-17 22:42:56 -07:00
Gajus Kuizinas
9e0a95e48b
fix: improve error phrasing
2016-09-17 20:22:59 +01:00
Gajus Kuizinas
4526824177
feat: utilise WebpackOptionsValidationError
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
91e36407ac
feat: define WebpackOptionsValidationError
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
31630644c4
chore: use 2 spaces indentation for JSON
...
https://github.com/webpack/webpack/pull/2974#discussion_r78160197
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
e57b3a7631
feature: log options validations errors in CLI
...
Ajv is using doT to compile validation logic. There is minimal overhead validating an object against a pre-compiled schema. In case of the CLI, options will be validated once by the CLI engine and the second time by API.
I prefer to explicitly handle error checking rather than relying on an error getting thrown by the API engine.
API needs to retain “validationErrors” object nevertheless to enable debugging when using webpack programmatically.
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
c83f869ed3
fix: devtool can have value false
...
3df89413e2/lib/WebpackOptionsDefaulter.js (L11)
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
992f5c807e
feat: throw error with validationErrors property
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
bebc397123
fix: do not console.log in the API
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
ccf9da2171
fix: use LoaderOptionsPlugin to set updateIndex
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
f523b17449
fix: pass worker options using LoaderOptionsPlugin
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
9879466df6
fix: remove unsupported property "optimize"
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
be9c5efb5e
feat: add JSON schema for "stats" property
...
Based on https://github.com/webpack/webpack/pull/2974#issuecomment-245700692 and 3df89413e2/lib/Stats.js (L765-L805) .
2016-09-17 20:21:07 +01:00