2017-04-13 06:04:10 +08:00
|
|
|
This example demonstrates various types of source-maps.
|
|
|
|
|
|
|
|
# example.coffee
|
|
|
|
|
|
|
|
``` coffeescript
|
|
|
|
# Taken from http://coffeescript.org/
|
|
|
|
|
|
|
|
# Objects:
|
|
|
|
math =
|
|
|
|
root: Math.sqrt
|
|
|
|
square: square
|
|
|
|
cube: (x) -> x * square x
|
|
|
|
|
|
|
|
# Splats:
|
|
|
|
race = (winner, runners...) ->
|
|
|
|
print winner, runners
|
|
|
|
```
|
|
|
|
|
|
|
|
# webpack.config.js
|
|
|
|
|
|
|
|
``` javascript
|
|
|
|
var path = require("path");
|
|
|
|
|
|
|
|
module.exports = [
|
|
|
|
"cheap-eval-source-map",
|
|
|
|
"cheap-module-eval-source-map",
|
|
|
|
"cheap-module-source-map",
|
|
|
|
"cheap-source-map",
|
|
|
|
"eval",
|
|
|
|
"eval-source-map",
|
|
|
|
"hidden-source-map",
|
|
|
|
"inline-source-map",
|
|
|
|
"nosources-source-map",
|
2018-04-04 21:17:13 +08:00
|
|
|
"source-map"
|
2017-04-13 06:04:10 +08:00
|
|
|
].map(devtool => ({
|
2017-11-24 15:40:39 +08:00
|
|
|
mode: "development",
|
2017-04-13 06:04:10 +08:00
|
|
|
entry: {
|
2018-04-04 21:17:13 +08:00
|
|
|
bundle: "coffee-loader!./example.coffee"
|
2017-04-13 06:04:10 +08:00
|
|
|
},
|
|
|
|
output: {
|
2018-01-05 04:39:29 +08:00
|
|
|
path: path.join(__dirname, "dist"),
|
2018-04-04 21:17:13 +08:00
|
|
|
filename: `./[name]-${devtool}.js`
|
2017-04-13 06:04:10 +08:00
|
|
|
},
|
|
|
|
devtool,
|
2018-01-20 00:06:59 +08:00
|
|
|
optimization: {
|
|
|
|
runtimeChunk: true
|
|
|
|
}
|
2017-04-13 06:04:10 +08:00
|
|
|
}));
|
|
|
|
```
|
|
|
|
|
|
|
|
# Generated source-maps
|
|
|
|
|
|
|
|
## source-map.js and source-map.js.map
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
var math, race,
|
|
|
|
slice = [].slice;
|
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
race = function() {
|
|
|
|
var runners, winner;
|
|
|
|
winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
|
|
|
return print(winner, runners);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
//# sourceMappingURL=bundle-source-map.js.map
|
|
|
|
```
|
|
|
|
|
|
|
|
``` javascript
|
2018-12-19 21:05:17 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAGA;EAAA;;AAAA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX,CAFR;;;AAKF,OAAO;AACL;EADM,uBAAQ;SACd,MAAM,MAAN,EAAc,OAAd;AADK","file":"./bundle-source-map.js","sourcesContent":["# Taken from http://coffeescript.org/\n\n# Objects:\nmath =\n root: Math.sqrt\n square: square\n cube: (x) -> x * square x\n\n# Splats:\nrace = (winner, runners...) ->\n print winner, runners\n"],"sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## hidden-source-map.js and hidden-source-map.js.map
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
var math, race,
|
|
|
|
slice = [].slice;
|
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
race = function() {
|
|
|
|
var runners, winner;
|
|
|
|
winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
|
|
|
return print(winner, runners);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
``` javascript
|
2018-12-19 21:05:17 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAGA;EAAA;;AAAA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX,CAFR;;;AAKF,OAAO;AACL;EADM,uBAAQ;SACd,MAAM,MAAN,EAAc,OAAd;AADK","file":"./bundle-hidden-source-map.js","sourcesContent":["# Taken from http://coffeescript.org/\n\n# Objects:\nmath =\n root: Math.sqrt\n square: square\n cube: (x) -> x * square x\n\n# Splats:\nrace = (winner, runners...) ->\n print winner, runners\n"],"sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## inline-source-map.js
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
var math, race,
|
|
|
|
slice = [].slice;
|
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
race = function() {
|
|
|
|
var runners, winner;
|
|
|
|
winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];
|
|
|
|
return print(winner, runners);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2018-12-19 21:05:17 +08:00
|
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFHQTtFQUFBOztBQUFBLE9BQ0U7RUFBQSxNQUFRLElBQUksQ0FBQyxJQUFiO0VBQ0EsUUFBUSxNQURSO0VBRUEsTUFBUSxTQUFDLENBQUQ7V0FBTyxJQUFJLE9BQU8sQ0FBUDtFQUFYLENBRlI7OztBQUtGLE9BQU87QUFDTDtFQURNLHVCQUFRO1NBQ2QsTUFBTSxNQUFOLEVBQWMsT0FBZDtBQURLIiwiZmlsZSI6Ii4vYnVuZGxlLWlubGluZS1zb3VyY2UtbWFwLmpzIiwic291cmNlc0NvbnRlbnQiOlsiIyBUYWtlbiBmcm9tIGh0dHA6Ly9jb2ZmZWVzY3JpcHQub3JnL1xuXG4jIE9iamVjdHM6XG5tYXRoID1cbiAgcm9vdDogICBNYXRoLnNxcnRcbiAgc3F1YXJlOiBzcXVhcmVcbiAgY3ViZTogICAoeCkgLT4geCAqIHNxdWFyZSB4XG5cbiMgU3BsYXRzOlxucmFjZSA9ICh3aW5uZXIsIHJ1bm5lcnMuLi4pIC0+XG4gIHByaW50IHdpbm5lciwgcnVubmVyc1xuIl0sInNvdXJjZVJvb3QiOiIifQ==
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## nosources-source-map.js.map
|
|
|
|
``` javascript
|
2018-12-19 21:05:17 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAGA;EAAA;;AAAA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX,CAFR;;;AAKF,OAAO;AACL;EADM,uBAAQ;SACd,MAAM,MAAN,EAAc,OAAd;AADK","file":"./bundle-nosources-source-map.js","sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## eval-source-map.js
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
2019-01-25 20:15:22 +08:00
|
|
|
eval("var math, race,\n slice = [].slice;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\nrace = function() {\n var runners, winner;\n winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZT8yNDE2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLElBQUEsVUFBQTtFQUFBOztBQUFBLElBQUEsR0FDRTtFQUFBLElBQUEsRUFBUSxJQUFJLENBQUMsSUFBYjtFQUNBLE1BQUEsRUFBUSxNQURSO0VBRUEsSUFBQSxFQUFRLFNBQUMsQ0FBRDtXQUFPLENBQUEsR0FBSSxNQUFBLENBQU8sQ0FBUDtFQUFYLENBRlI7OztBQUtGLElBQUEsR0FBTyxTQUFBO0FBQ0wsTUFBQTtFQURNLHVCQUFRO1NBQ2QsS0FBQSxDQUFNLE1BQU4sRUFBYyxPQUFkO0FBREsiLCJzb3VyY2VzQ29udGVudCI6WyIjIFRha2VuIGZyb20gaHR0cDovL2NvZmZlZXNjcmlwdC5vcmcvXG5cbiMgT2JqZWN0czpcbm1hdGggPVxuICByb290OiAgIE1hdGguc3FydFxuICBzcXVhcmU6IHNxdWFyZVxuICBjdWJlOiAgICh4KSAtPiB4ICogc3F1YXJlIHhcblxuIyBTcGxhdHM6XG5yYWNlID0gKHdpbm5lciwgcnVubmVycy4uLikgLT5cbiAgcHJpbnQgd2lubmVyLCBydW5uZXJzXG4iXX0=\n//# sourceURL=webpack-internal:///0\n");
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## eval.js
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
2018-02-10 22:09:46 +08:00
|
|
|
eval("var math, race,\n slice = [].slice;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\nrace = function() {\n var runners, winner;\n winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n return print(winner, runners);\n};\n\n\n//# sourceURL=webpack:///./example.coffee?(webpack)/node_modules/coffee-loader");
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## cheap-eval-source-map.js
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
2018-04-04 21:17:13 +08:00
|
|
|
eval("var math, race,\n slice = [].slice;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\nrace = function() {\n var runners, winner;\n winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2V4YW1wbGUuY29mZmVlP2MxNzAiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIG1hdGgsIHJhY2UsXG4gIHNsaWNlID0gW10uc2xpY2U7XG5cbm1hdGggPSB7XG4gIHJvb3Q6IE1hdGguc3FydCxcbiAgc3F1YXJlOiBzcXVhcmUsXG4gIGN1YmU6IGZ1bmN0aW9uKHgpIHtcbiAgICByZXR1cm4geCAqIHNxdWFyZSh4KTtcbiAgfVxufTtcblxucmFjZSA9IGZ1bmN0aW9uKCkge1xuICB2YXIgcnVubmVycywgd2lubmVyO1xuICB3aW5uZXIgPSBhcmd1bWVudHNbMF0sIHJ1bm5lcnMgPSAyIDw9IGFyZ3VtZW50cy5sZW5ndGggPyBzbGljZS5jYWxsKGFyZ3VtZW50cywgMSkgOiBbXTtcbiAgcmV0dXJuIHByaW50KHdpbm5lciwgcnVubmVycyk7XG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///0\n");
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## cheap-module-eval-source-map.js
|
|
|
|
``` javascript
|
2018-09-25 23:08:35 +08:00
|
|
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],[
|
2017-12-14 17:58:03 +08:00
|
|
|
/* 0 */
|
2017-06-05 22:12:12 +08:00
|
|
|
/*!*************************************************************!*\
|
|
|
|
!*** (webpack)/node_modules/coffee-loader!./example.coffee ***!
|
|
|
|
\*************************************************************/
|
2019-02-05 01:52:39 +08:00
|
|
|
/*! other exports [maybe provided (runtime-defined)] [no usage info] */
|
2018-12-19 21:05:17 +08:00
|
|
|
/*! runtime requirements: */
|
|
|
|
/***/ (function() {
|
2017-04-13 06:04:10 +08:00
|
|
|
|
2019-01-25 20:15:22 +08:00
|
|
|
eval("var math, race,\n slice = [].slice;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\nrace = function() {\n var runners, winner;\n winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZT8yNDE2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLElBQUEsVUFBQTtFQUFBOztBQUFBLElBQUEsR0FDRTtFQUFBLElBQUEsRUFBUSxJQUFJLENBQUMsSUFBYjtFQUNBLE1BQUEsRUFBUSxNQURSO0VBRUEsSUFBQSxFQUFRLFNBQUMsQ0FBRDtXQUFPLENBQUEsR0FBSSxNQUFBLENBQU8sQ0FBUDtFQUFYLENBRlI7OztBQUtGLElBQUEsR0FBTyxTQUFBO0FBQ0wsTUFBQTtFQURNLHVCQUFRO1NBQ2QsS0FBQSxDQUFNLE1BQU4sRUFBYyxPQUFkO0FBREsiLCJzb3VyY2VzQ29udGVudCI6WyIjIFRha2VuIGZyb20gaHR0cDovL2NvZmZlZXNjcmlwdC5vcmcvXG5cbiMgT2JqZWN0czpcbm1hdGggPVxuICByb290OiAgIE1hdGguc3FydFxuICBzcXVhcmU6IHNxdWFyZVxuICBjdWJlOiAgICh4KSAtPiB4ICogc3F1YXJlIHhcblxuIyBTcGxhdHM6XG5yYWNlID0gKHdpbm5lciwgcnVubmVycy4uLikgLT5cbiAgcHJpbnQgd2lubmVyLCBydW5uZXJzXG4iXX0=\n//# sourceURL=webpack-internal:///0\n");
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## cheap-module-source-map.js.map
|
|
|
|
``` javascript
|
2018-12-19 21:05:17 +08:00
|
|
|
{"version":3,"file":"./bundle-cheap-module-source-map.js","sources":["webpack:///./example.coffee"],"sourcesContent":["# Taken from http://coffeescript.org/\n\n# Objects:\nmath =\n root: Math.sqrt\n square: square\n cube: (x) -> x * square x\n\n# Splats:\nrace = (winner, runners...) ->\n print winner, runners\n"],"mappings":";;;;;;;;;AAGA;AAAA;AACA;AADA;AACA;AACA;AACA;AAAA;AAAA;;;AAGA;AACA;AADA;AACA;AADA;;;;A","sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## cheap-source-map.js.map
|
|
|
|
``` javascript
|
2018-12-19 21:05:17 +08:00
|
|
|
{"version":3,"file":"./bundle-cheap-source-map.js","sources":["webpack:///./example.coffee"],"sourcesContent":["var math, race,\n slice = [].slice;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\nrace = function() {\n var runners, winner;\n winner = arguments[0], runners = 2 <= arguments.length ? slice.call(arguments, 1) : [];\n return print(winner, runners);\n};\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
# webpack output
|
|
|
|
|
|
|
|
```
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2019-02-05 01:52:39 +08:00
|
|
|
Version: webpack 5.0.0-alpha.9
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-cheap-eval-source-map.js 1.55 KiB {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-cheap-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-cheap-eval-source-map.js ./bundle-cheap-eval-source-map.js
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-cheap-eval-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-cheap-eval-source-map.js (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-cheap-module-eval-source-map.js 1.6 KiB {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-cheap-module-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-cheap-module-eval-source-map.js ./bundle-cheap-module-eval-source-map.js
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-cheap-module-eval-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-cheap-module-eval-source-map.js (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-cheap-module-source-map.js 789 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./bundle-cheap-module-source-map.js.map 438 bytes {1} [emitted] bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./runtime~bundle-cheap-module-source-map.js 4.71 KiB {0} [emitted] runtime~bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-cheap-module-source-map.js.map 4.12 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-cheap-module-source-map.js ./runtime~bundle-cheap-module-source-map.js.map ./bundle-cheap-module-source-map.js ./bundle-cheap-module-source-map.js.map
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-cheap-module-source-map.js, ./runtime~bundle-cheap-module-source-map.js.map (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-cheap-module-source-map.js, ./bundle-cheap-module-source-map.js.map (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-cheap-source-map.js 782 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./bundle-cheap-source-map.js.map 562 bytes {1} [emitted] bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./runtime~bundle-cheap-source-map.js 4.71 KiB {0} [emitted] runtime~bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-cheap-source-map.js.map 4.11 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-cheap-source-map.js ./runtime~bundle-cheap-source-map.js.map ./bundle-cheap-source-map.js ./bundle-cheap-source-map.js.map
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-cheap-source-map.js, ./runtime~bundle-cheap-source-map.js.map (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-cheap-source-map.js, ./bundle-cheap-source-map.js.map (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-eval.js 837 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-eval.js 4.65 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-eval.js ./bundle-eval.js
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-eval.js (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-eval.js (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-eval-source-map.js 1.6 KiB {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./runtime~bundle-eval-source-map.js 4.65 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-eval-source-map.js ./bundle-eval-source-map.js
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-eval-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-eval-source-map.js (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-hidden-source-map.js 730 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./bundle-hidden-source-map.js.map 535 bytes {1} [emitted] bundle
|
|
|
|
./runtime~bundle-hidden-source-map.js 4.65 KiB {0} [emitted] runtime~bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./runtime~bundle-hidden-source-map.js.map 4.08 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-hidden-source-map.js ./runtime~bundle-hidden-source-map.js.map ./bundle-hidden-source-map.js ./bundle-hidden-source-map.js.map
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-hidden-source-map.js, ./runtime~bundle-hidden-source-map.js.map (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-hidden-source-map.js, ./bundle-hidden-source-map.js.map (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-inline-source-map.js 1.48 KiB {1} [emitted] bundle
|
|
|
|
./runtime~bundle-inline-source-map.js 10.1 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-inline-source-map.js ./bundle-inline-source-map.js
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-inline-source-map.js (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-inline-source-map.js (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-nosources-source-map.js 786 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./bundle-nosources-source-map.js.map 315 bytes {1} [emitted] bundle
|
|
|
|
./runtime~bundle-nosources-source-map.js 4.71 KiB {0} [emitted] runtime~bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./runtime~bundle-nosources-source-map.js.map 771 bytes {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-nosources-source-map.js ./runtime~bundle-nosources-source-map.js.map ./bundle-nosources-source-map.js ./bundle-nosources-source-map.js.map
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-nosources-source-map.js, ./runtime~bundle-nosources-source-map.js.map (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-nosources-source-map.js, ./bundle-nosources-source-map.js.map (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
Child
|
2017-12-14 17:58:03 +08:00
|
|
|
Hash: 0a1b2c3d4e5f6a7b8c9d
|
2018-01-20 00:06:59 +08:00
|
|
|
Asset Size Chunks Chunk Names
|
2019-02-05 01:52:39 +08:00
|
|
|
./bundle-source-map.js 776 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./bundle-source-map.js.map 528 bytes {1} [emitted] bundle
|
|
|
|
./runtime~bundle-source-map.js 4.7 KiB {0} [emitted] runtime~bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./runtime~bundle-source-map.js.map 4.07 KiB {0} [emitted] runtime~bundle
|
2018-02-10 22:09:46 +08:00
|
|
|
Entrypoint bundle = ./runtime~bundle-source-map.js ./runtime~bundle-source-map.js.map ./bundle-source-map.js ./bundle-source-map.js.map
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {0} ./runtime~bundle-source-map.js, ./runtime~bundle-source-map.js.map (runtime~bundle) 2.24 KiB [entry] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
1 chunk module
|
2019-02-05 01:52:39 +08:00
|
|
|
chunk {1} ./bundle-source-map.js, ./bundle-source-map.js.map (bundle) 308 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2018-09-25 23:08:35 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 308 bytes {1} [built]
|
2018-09-26 05:13:58 +08:00
|
|
|
[used exports unknown]
|
2018-12-19 21:05:17 +08:00
|
|
|
entry coffee-loader!./example.coffee bundle
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|