This example demonstrates various types of source-maps. # example.coffee ``` coffeescript {{example.coffee}} ``` # webpack.config.js ``` javascript {{webpack.config.js}} ``` # Generated source-maps ## source-map.js and source-map.js.map ``` javascript {{dist/bundle-source-map.js}} ``` ``` javascript {{dist/bundle-source-map.js.map}} ``` ## hidden-source-map.js and hidden-source-map.js.map ``` javascript {{dist/bundle-hidden-source-map.js}} ``` ``` javascript {{dist/bundle-hidden-source-map.js.map}} ``` ## inline-source-map.js ``` javascript {{dist/bundle-inline-source-map.js}} ``` ## nosources-source-map.js.map ``` javascript {{dist/bundle-nosources-source-map.js.map}} ``` ## eval-source-map.js ``` javascript {{dist/bundle-eval-source-map.js}} ``` ## eval.js ``` javascript {{dist/bundle-eval.js}} ``` ## cheap-eval-source-map.js ``` javascript {{dist/bundle-cheap-eval-source-map.js}} ``` ## cheap-module-eval-source-map.js ``` javascript {{dist/bundle-cheap-module-eval-source-map.js}} ``` ## cheap-module-source-map.js.map ``` javascript {{dist/bundle-cheap-module-source-map.js.map}} ``` ## cheap-source-map.js.map ``` javascript {{dist/bundle-cheap-source-map.js.map}} ``` # webpack output ``` {{stdout}} ```