Florent Cailhol
3983803d30
Destructure 'require' to improve readability
2018-03-22 12:05:58 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Stephan Badragan
59d9b9f8aa
EvalSourceMapDevToolPlugin: add ability to filter which modules get sourcemapped
...
see: https://github.com/webpack/webpack/issues/6450
This is useful to filter out stuff you don't care about or stuff that's very
large and screws up with devtools.
2018-02-08 17:33:55 -08:00
ruszki
28288c82bd
Remove unnecessary conditions
2018-02-01 19:36:55 +01:00
ruszki
83f772a611
Remove footer from source maps and eval
2018-01-30 22:46:23 +01:00
Florent Cailhol
7f303e5260
Use Buffer.from instead of new Buffer
2018-01-22 17:23:34 +01:00
Florent Cailhol
f737b26260
Remove some plugin calls
2017-12-14 14:42:49 +01:00
Tobias Koppers
758a388f69
pass runtimeTemplate to DependencyTemplate
...
move outputOptions and requestShortener into runtimeTemplate
2017-12-11 17:59:32 +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
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
809629d843
chrome workaround for eval-source-maps
...
breakpoints now work fine
2017-06-09 16:31:11 +02:00
SendilKumar N
b423a15724
Refactor(ES6): EvalSourceMapDevToolModuleTemplatePlugin
2017-02-22 18:27:02 +08: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
Logan Smyth
f0634395be
Use //# as the default sourceMappingURL format for eval-source-map
2016-02-19 11:33:45 -08:00
Kenny Tran
1cdc478c44
Fix lint warnings in EvalSourceMapDevToolModuleTemplatePlugin
2016-01-17 14:54:55 -08:00
Tobias Koppers
5bfc68aacb
Merge branch 'master' of https://github.com/webpack/webpack
2016-01-03 21:44:02 +01:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00
nanzhu
af4c2e88c0
Set charset as 'utf-8' in sourcemap plugin
...
by adding 'charset=utf-8;'.
2015-12-24 10:50:22 +08:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
0431b74149
added cheap-source-map and lineToLine option
2015-04-05 01:52:30 +02:00
Tobias Koppers
92f53176a2
use sourceAndMap is available
2015-04-03 12:38:56 +02:00
Tobias Koppers
a979874cd0
updated deps, minor changes
2015-01-17 23:43:25 +01:00
Tobias Koppers
e4dc029379
Merge pull request #648 from loganfsmyth/devtool-map-mutation
...
Don't persist sourcemap changes between steps.
2014-12-31 01:38:58 +01:00
Tobias Koppers
c22bbf8fa2
Cache output of EvalSourceMapDevTool
2014-12-31 01:38:23 +01:00
Logan Smyth
ca00bec085
Don't persist sourcemap changes between steps.
2014-12-28 15:17:05 -08:00
Tobias Koppers
d7e50e5da3
Better filenames in dev tools
2014-07-18 13:31:50 +02:00
Tobias Koppers
3efb71500a
fixes #316
2014-06-17 21:50:19 +02:00
Tobias Koppers
42c82f6b77
refactored ModuleTemplate to plugin interface
2014-06-03 08:45:26 +02:00