ruszki
83f772a611
Remove footer from source maps and eval
2018-01-30 22:46:23 +01:00
Tobias Koppers
7a1b357aad
Merge branch 'next' into for_of_loops
2018-01-24 09:01:31 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
Florent Cailhol
7f303e5260
Use Buffer.from instead of new Buffer
2018-01-22 17:23:34 +01:00
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
EugeneHlushko
6d893ad9c2
Feature: SourceMapDevToolPlugin progress: make the linter happy again
2018-01-04 18:27:55 +02:00
Tobias Koppers
55ad52fd9a
report progress for both steps
2018-01-04 15:42:31 +01:00
EugeneHlushko
91f961b8fa
Feature: SourceMapDevToolPlugin progress: PR changes
2018-01-03 16:56:40 +02:00
EugeneHlushko
fdd6b4ebee
Feature: SourceMapDevToolPlugin progress: PR changes
2018-01-03 16:55:38 +02:00
EugeneHlushko
fe83f52b0a
Feature: SourceMapDevToolPlugin progress: wip
2018-01-03 12:50:37 +02:00
EugeneHlushko
7621c46464
Feature: SourceMapDevToolPlugin progress: wip
...
Feature: SourceMapDevToolPlugin progress: wip
2018-01-03 11:40:57 +02:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +01:00
Tobias Koppers
bfa4b49858
Merge branch 'master' into next
2017-12-04 14:36:07 +01:00
Tobias Koppers
7d87f34269
Only create one RequestShortener per Compiler
...
move Compiler.context assignment into Compiler
2017-12-04 12:23:42 +01:00
Tobias Koppers
dae9de6595
Merge branch 'next' into feature/validate-plugin-options
...
# Conflicts:
# lib/SourceMapDevToolPlugin.js
# lib/optimize/AggressiveSplittingPlugin.js
# yarn.lock
2017-11-28 09:59:59 +01:00
Tobias Koppers
471e1a28f4
make url only relative when no publicPath has been provided
2017-11-27 07:53:38 +01:00
EugeneHlushko
840b43f16a
SourceMapDevToolPlugin: add fileContext and publicPath options. Add a configCase test
2017-11-25 16:38:30 +02:00
Tobias Koppers
a0ef93f939
aggregate all crypto hash usages into util/createHash
...
try to avoid calling hash.update with short strings
2017-11-23 11:09:17 +01:00
Tobias Koppers
a53672d1a2
Merge branch 'master' into next
...
# Conflicts:
# lib/EvalSourceMapDevToolModuleTemplatePlugin.js
# lib/dependencies/HarmonyDetectionParserPlugin.js
# lib/dependencies/HarmonyImportDependency.js
# package.json
# schemas/webpackOptionsSchema.json
# test/Validation.test.js
2017-11-17 16:03:46 +01:00
Sergey Petushkov
cdd593b847
Rename schemas; Make imports less verbose
2017-11-12 09:48:08 +01:00
Sergey Petushkov
d73ad04c72
Add spaces to plugin names
2017-11-12 09:48:08 +01:00
Sergey Petushkov
1065a6e46c
Refactor plugins to use schema-utils; Remove unused
2017-11-12 09:48:08 +01:00
Sergey Petushkov
744dbe9b95
Add validations to plugins
2017-11-12 09:48:08 +01:00
Tobias Koppers
4597805222
Merge branch 'next' into master
2017-11-11 19:00:05 +01:00
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Abhilash Singh
1a856937d1
Source maps: webpack serves null content from sourcesContent #5542
2017-10-29 04:49:42 +05:30
Stephan Badragan
68acd41bff
passing namespace argument to contructors of dev tool plugins
2017-10-19 13:23:28 -07:00
Stephan Badragan
72b28aa1c3
passing devtoolNamespace through instead of setting it statically
2017-10-18 23:30:37 +01:00
Stephan Badragan
f925032d5a
adding `output.devtoolNamespace` option
...
When loading multiple libraries built with webpack, you can run into
collisions of the sourcemap file paths. For examle, both have
"webpack:///src/index.js".
This change addresses the problem by introducing a new output option
`output.devtoolNamespace` which defaults to `output.library` when
not specified. The defaults moduleFilenameTemplates in all the
sourcemap plugins have been modified to start with:
"webpack://[namespace]/...", where [namespace] will be replaced by
the `output.devtoolNamespace`.
Notice that there are only two slashes following "webpack:" now.
This is to make it behave just as before when not building with a
namespace. When building with a namespace you only get the two
slashes, but from what I've seen the chrome dev tools only care
about the first 2 slashes anyways.
Discussed with sokra here:
https://github.com/webpack/webpack/issues/5767
2017-10-18 01:14:40 +01:00
Tobias Koppers
4105297de6
Merge branch 'next' into deprecation/webpack-3
2017-09-11 11:26:44 +02:00
Filipe Silva
2f30174d15
fix: replace for..of to prevent v8 deoptimization
...
According to https://github.com/GoogleChrome/devtools-docs/issues/53#issuecomment-319107156 , use of `for...of` statements will cause a deopt in some versions of v8.
In a my particular case these two changes reduced 1.6 seconds in a big rebuild.
2017-08-29 14:35:37 +01:00
Tobias Koppers
5e46fff39d
Simplify code a little bit
2017-07-18 14:28:12 +02:00
Evan Scott
7a1630b108
refactor: collapse several array iterators into single reduce
2017-07-17 01:33:59 -04:00
Tobias Koppers
edd6228ac1
fix linting
2017-07-08 12:25:52 +02:00
Tobias Koppers
3dfa75e60d
generate source map names globally
2017-07-07 12:55:11 +02:00
Tobias Koppers
5e84167fbd
remove deprecated stuff
2017-06-14 14:41:02 +02:00
Tobias Koppers
e7474b1b8b
fixup for source-map contenthash
2017-06-05 09:46:01 +02:00
Rafael De Leon
84b6554f98
Enable use of sourceMapFilename: "[file].map?[contenthash]" as a useful workaround for this bug in chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=508270
2017-06-02 10:06:18 -07: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
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
Tobias Koppers
7d142780de
change Buffer.from to new Buffer
2017-04-09 10:08:15 +02:00
Will Mendes
127cd7898b
refactor(SourceMapDevToolPlugin): upgrade to ES6
2017-04-07 20:14:19 +10:00
Tobias Koppers
546fe6dfc1
fixes #4086
2017-01-25 22:57:27 +01:00
Sean Larkin
72226db030
add missing disable line
2017-01-17 00:32:42 -06: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
Sean Larkin
7327ee608a
chore(eslint): added eslint-node-plugin ( #3652 )
2016-12-30 17:13:49 -06:00
Tobias Koppers
28776e28f3
added sourceRoot option for SourceMap plugins
...
simplified option passing
fixes #238
2016-05-05 10:24:18 +02:00
Tobias Koppers
5d981fe3d5
Option noSources that removes sourcesContent from sourcemaps. Also available as "nosources" in devtool option.
...
Picked from #2213
2016-04-10 23:37:17 +02:00
Kenny Tran
eebc5ceaf6
Fix no-redeclare in code
2016-01-18 18:57:42 -08:00