Commit Graph

3876 Commits

Author SHA1 Message Date
Tobias Koppers 38f9686a5d Merge pull request #4762 from huy-nguyen/fix-documentation
Fix indentation
2017-04-21 09:27:16 +02:00
Huy Nguyen 6124837c41 Update template.md 2017-04-20 16:58:20 -04:00
Tobias Koppers 8aa8a7b63f Merge pull request #4737 from ndresx/lint-glob-errors-fix
Fix lint errors and normalize lint globs in package.json
2017-04-19 00:00:19 +02:00
Martin Veith aea0e641ab Added eslint-disable-line for in dll-plugin test generated file 2017-04-18 22:35:52 +02:00
Martin Veith c9c92c56b1 Fixed lint errors and normalized lint globs in package.json 2017-04-18 22:00:05 +02:00
Tobias Koppers 25ae65ed72 Merge pull request #4728 from yeskunall/master
Improve sentence structure. Closes #4724.
2017-04-18 18:08:52 +02:00
Tobias Koppers 5cbd2bd26e Merge pull request #4720 from arekkas/patch-1
Split sourceMappingURL string
2017-04-18 15:27:50 +02:00
Kunall Banerjee 1a7f622edf Impove sentence structure. Closes #4724 2017-04-17 18:05:48 -04:00
Huy Nguyen a5d441c530 Fix indentation 2017-04-17 14:03:09 -04:00
Aeneas c392f55ec8 Split sourceMappingURL string
This change is splitting `sourceMappingURL` to `source" + "MappingURL` in order to avoid syntax errors caused by babel when importing webpack in code that is transpiled by babel. This workaround was suggested in https://github.com/babel/babel/issues/4012 and this issue is an upstream to https://github.com/electron/electron-compilers/issues/67 and https://github.com/electron/electron-compile/issues/210 .

Apart from a small syntax change there are no changes to the functionality.
2017-04-17 10:02:36 +02:00
Tobias Koppers 82ddd16080 Merge pull request #4717 from STRML/fix/hashSalt
fix missing `hashSalt` from options schema
2017-04-15 19:26:54 +02:00
Samuel Reed 805c9fadf0
fix missing `hashSalt` from options schema 2017-04-15 11:39:49 -04:00
Tobias Koppers bd753567da 2.4.1 2017-04-14 15:34:34 +02:00
Tobias Koppers fb698e4729 Merge pull request #4710 from webpack/bugfix/prewalk-function-decl
prewalk a function declaration
2017-04-14 15:34:07 +02:00
Tobias Koppers 619cf318ec prewalk a function declaration
fixes #4709
2017-04-14 15:23:27 +02:00
Tobias Koppers 0cbd8fd1a0 2.4.0 2017-04-14 13:42:58 +02:00
Tobias Koppers ab2270263e Merge pull request #4507 from ts-webpack/refactor/clean-code
[Refactor] clean the code
2017-04-13 15:25:48 +02:00
Tobias Koppers e78745221e Merge pull request #4700 from webpack/bug/future-var-declaration
add parser prewalking to capture scope
2017-04-13 15:23:48 +02:00
Tobias Koppers 98153f53f4 Merge pull request #4706 from webpack/test/parser-coverage
add test cases and fix a bug
2017-04-13 15:23:31 +02:00
Tobias Koppers 52f2daf89f add test cases and fix a bug 2017-04-13 14:52:49 +02:00
Tobias Koppers e4b8833128 improve code coverage 2017-04-13 12:37:30 +02:00
Tobias Koppers 3afe67d6fb add parser prewalking to capture scope
fixes #4608
2017-04-13 09:05:29 +02:00
Tobias Koppers 0990915ad8 spacing 2017-04-13 08:07:52 +02:00
Tobias Koppers d8a8bd329b deprecate string option instead of removing it 2017-04-13 08:06:56 +02:00
Tobias Koppers dbc40e8d55 Merge pull request #4698 from simon04/examples-source-map
Add example demonstrating all source-map variants
2017-04-13 07:53:25 +02:00
Simon Legner 0ef0581201 Add example demonstrating all source-map variants 2017-04-13 00:17:18 +02:00
Tobias Koppers a8227849e8 Merge pull request #4696 from webpack/bugfix/parser-refactoring
parser refactoring bugfix
2017-04-12 19:20:49 +02:00
Tobias Koppers ba3688a4ed fixes misstake while es6 refactoring, add support for other variable declarations 2017-04-12 11:21:40 +02:00
e-cloud 07f6281185 fix: typos and variables/function misuse 2017-04-11 19:43:05 +08:00
e-cloud 52055ba07e refactor: dead code elimination
remove those code not defined but used;
remove unused code
2017-04-11 19:43:05 +08:00
e-cloud 59e5de59d7 refactor: remove unused code
includes unused variables, class method, class static properties and
function arguments
2017-04-11 19:39:24 +08:00
Tobias Koppers 813053ef55 Merge pull request #4656 from willmendesneto/refactor-source-map-devtool-plugin
refactor(SourceMapDevToolPlugin): upgrade to ES6
2017-04-10 20:53:50 +02:00
Tobias Koppers c9b10ca314 Merge pull request #4573 from mc-zone/feature/import-chunk-name
Feature: Add named chunk for `import()` by specified comment format.
2017-04-10 15:38:01 +02:00
Tobias Koppers fbd0911961 Merge branch 'master' into feature/import-chunk-name 2017-04-10 13:53:16 +02:00
Tobias Koppers 6d6707efb9 Merge pull request #4635 from smelukov/es6-refactor-parser
ES6 refactoring in Parser
2017-04-10 13:11:47 +02:00
Tobias Koppers 22d3f8b96c remove duplicate newline 2017-04-10 12:45:17 +02:00
Tobias Koppers aecc297c50 Merge pull request #4610 from con-ssc/master
Added {} in templates
2017-04-10 12:32:19 +02:00
Tobias Koppers 51369d4e24 Merge branch 'refactor-parser' into refactor-parser-2
# Conflicts:
#	lib/Parser.js
2017-04-10 12:24:00 +02:00
Sergey Melyukov 90f345a7a8 ES6-ify of Parser 2017-04-10 11:59:28 +02:00
Tim Sebastian 99c3129f5e refactor parser to be a class 2017-04-10 11:56:00 +02:00
Tobias Koppers e4bb4d5296 updated example 2017-04-10 11:44:59 +02:00
Tobias Koppers 180f5e541c refactor to simpler way of extracting options from comments 2017-04-10 11:36:39 +02:00
Tobias Koppers 44091a1618 Strict and const 2017-04-10 07:41:41 +02:00
Ma Cheng 83aeea8c46 Fix indentation 2017-04-09 17:10:06 +08:00
Ma Cheng 5ba77f9f7a Merge branch 'master' into feature/import-chunk-name 2017-04-09 17:05:57 +08:00
Tobias Koppers 79833b4938 updated stats 2017-04-09 10:41:32 +02:00
Tobias Koppers accc94cbea Merge pull request #4679 from timse/rename-async-for-future-compatibility
Rename async for future compatibility
2017-04-09 10:08:57 +02:00
Tobias Koppers 7d142780de change Buffer.from to new Buffer 2017-04-09 10:08:15 +02:00
Tobias Koppers 5210230d4b Merge branch 'master' into master 2017-04-09 09:45:56 +02:00
Tim Sebastian db0dbc327b rename async to make it future proof 2017-04-09 16:32:04 +10:00