webpack/examples/source-map/template.md

1.2 KiB

This example demonstrates various types of source-maps.

example.coffee

_{{example.coffee}}_

webpack.config.js

_{{webpack.config.js}}_

Generated source-maps

source-map.js and source-map.js.map

_{{dist/bundle-source-map.js}}_
_{{dist/bundle-source-map.js.map}}_

hidden-source-map.js and hidden-source-map.js.map

_{{dist/bundle-hidden-source-map.js}}_
_{{dist/bundle-hidden-source-map.js.map}}_

inline-source-map.js

_{{dist/bundle-inline-source-map.js}}_

nosources-source-map.js.map

_{{dist/bundle-nosources-source-map.js.map}}_

eval-source-map.js

_{{dist/bundle-eval-source-map.js}}_

eval.js

_{{dist/bundle-eval.js}}_

eval-cheap-source-map.js

_{{dist/bundle-eval-cheap-source-map.js}}_

eval-cheap-module-source-map.js

_{{dist/bundle-eval-cheap-module-source-map.js}}_

cheap-module-source-map.js.map

_{{dist/bundle-cheap-module-source-map.js.map}}_

cheap-source-map.js.map

_{{dist/bundle-cheap-source-map.js.map}}_

webpack output

_{{stdout}}_