2017-04-13 06:04:10 +08:00
|
|
|
This example demonstrates various types of source-maps.
|
|
|
|
|
|
|
|
# example.coffee
|
|
|
|
|
2019-04-09 02:29:40 +08:00
|
|
|
```coffeescript
|
2017-04-13 06:04:10 +08:00
|
|
|
# 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
|
|
|
|
|
2019-04-09 02:29:40 +08:00
|
|
|
```javascript
|
2017-04-13 06:04:10 +08:00
|
|
|
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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-04-04 04:48:54 +08:00
|
|
|
// Taken from http://coffeescript.org/
|
|
|
|
|
|
|
|
// Objects:
|
|
|
|
var math, race;
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2019-04-04 04:48:54 +08:00
|
|
|
// Splats:
|
|
|
|
race = function(winner, ...runners) {
|
2017-04-13 06:04:10 +08:00
|
|
|
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
|
|
|
|
```
|
|
|
|
|
2019-04-09 02:29:40 +08:00
|
|
|
```javascript
|
2019-05-10 03:34:28 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAAA;;;AAAA;;AAGA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX;AAFR,EAJF;;;AASA,OAAO,SAAC,MAAD,KAAS,OAAT;SACL,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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-04-04 04:48:54 +08:00
|
|
|
// Taken from http://coffeescript.org/
|
|
|
|
|
|
|
|
// Objects:
|
|
|
|
var math, race;
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2019-04-04 04:48:54 +08:00
|
|
|
// Splats:
|
|
|
|
race = function(winner, ...runners) {
|
2017-04-13 06:04:10 +08:00
|
|
|
return print(winner, runners);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
2019-04-09 02:29:40 +08:00
|
|
|
```javascript
|
2019-05-10 03:34:28 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAAA;;;AAAA;;AAGA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX;AAFR,EAJF;;;AASA,OAAO,SAAC,MAAD,KAAS,OAAT;SACL,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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-04-04 04:48:54 +08:00
|
|
|
// Taken from http://coffeescript.org/
|
|
|
|
|
|
|
|
// Objects:
|
|
|
|
var math, race;
|
2017-04-13 06:04:10 +08:00
|
|
|
|
|
|
|
math = {
|
|
|
|
root: Math.sqrt,
|
|
|
|
square: square,
|
|
|
|
cube: function(x) {
|
|
|
|
return x * square(x);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2019-04-04 04:48:54 +08:00
|
|
|
// Splats:
|
|
|
|
race = function(winner, ...runners) {
|
2017-04-13 06:04:10 +08:00
|
|
|
return print(winner, runners);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/***/ })
|
2018-09-25 23:08:35 +08:00
|
|
|
],[[0,0]]]);
|
2019-05-10 03:34:28 +08:00
|
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7O0FBQUE7O0FBR0EsT0FDRTtFQUFBLE1BQVEsSUFBSSxDQUFDLElBQWI7RUFDQSxRQUFRLE1BRFI7RUFFQSxNQUFRLFNBQUMsQ0FBRDtXQUFPLElBQUksT0FBTyxDQUFQO0VBQVg7QUFGUixFQUpGOzs7QUFTQSxPQUFPLFNBQUMsTUFBRCxLQUFTLE9BQVQ7U0FDTCxNQUFNLE1BQU4sRUFBYyxPQUFkO0FBREsiLCJmaWxlIjoiLi9idW5kbGUtaW5saW5lLXNvdXJjZS1tYXAuanMiLCJzb3VyY2VzQ29udGVudCI6WyIjIFRha2VuIGZyb20gaHR0cDovL2NvZmZlZXNjcmlwdC5vcmcvXG5cbiMgT2JqZWN0czpcbm1hdGggPVxuICByb290OiAgIE1hdGguc3FydFxuICBzcXVhcmU6IHNxdWFyZVxuICBjdWJlOiAgICh4KSAtPiB4ICogc3F1YXJlIHhcblxuIyBTcGxhdHM6XG5yYWNlID0gKHdpbm5lciwgcnVubmVycy4uLikgLT5cbiAgcHJpbnQgd2lubmVyLCBydW5uZXJzXG4iXSwic291cmNlUm9vdCI6IiJ9
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## nosources-source-map.js.map
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```javascript
|
2019-05-10 03:34:28 +08:00
|
|
|
{"version":3,"sources":["webpack:///./example.coffee"],"names":[],"mappings":";;;;;;;;;AAAA;;;AAAA;;AAGA,OACE;EAAA,MAAQ,IAAI,CAAC,IAAb;EACA,QAAQ,MADR;EAEA,MAAQ,SAAC,CAAD;WAAO,IAAI,OAAO,CAAP;EAAX;AAFR,EAJF;;;AASA,OAAO,SAAC,MAAD,KAAS,OAAT;SACL,MAAM,MAAN,EAAc,OAAd;AADK","file":"./bundle-nosources-source-map.js","sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## eval-source-map.js
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-05-10 03:34:28 +08:00
|
|
|
eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\n// Splats:\nrace = function(winner, ...runners) {\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZT8yNDE2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7QUFBQSxJQUFBLElBQUEsRUFBQTs7QUFHQSxJQUFBLEdBQ0U7RUFBQSxJQUFBLEVBQVEsSUFBSSxDQUFDLElBQWI7RUFDQSxNQUFBLEVBQVEsTUFEUjtFQUVBLElBQUEsRUFBUSxRQUFBLENBQUMsQ0FBRCxDQUFBO1dBQU8sQ0FBQSxHQUFJLE1BQUEsQ0FBTyxDQUFQO0VBQVg7QUFGUixFQUpGOzs7QUFTQSxJQUFBLEdBQU8sUUFBQSxDQUFDLE1BQUQsRUFBQSxHQUFTLE9BQVQsQ0FBQTtTQUNMLEtBQUEsQ0FBTSxNQUFOLEVBQWMsT0FBZDtBQURLIiwic291cmNlc0NvbnRlbnQiOlsiIyBUYWtlbiBmcm9tIGh0dHA6Ly9jb2ZmZWVzY3JpcHQub3JnL1xuXG4jIE9iamVjdHM6XG5tYXRoID1cbiAgcm9vdDogICBNYXRoLnNxcnRcbiAgc3F1YXJlOiBzcXVhcmVcbiAgY3ViZTogICAoeCkgLT4geCAqIHNxdWFyZSB4XG5cbiMgU3BsYXRzOlxucmFjZSA9ICh3aW5uZXIsIHJ1bm5lcnMuLi4pIC0+XG4gIHByaW50IHdpbm5lciwgcnVubmVyc1xuIl19\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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-04-04 04:48:54 +08:00
|
|
|
eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\n// Splats:\nrace = function(winner, ...runners) {\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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-04-04 04:48:54 +08:00
|
|
|
eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\n// Splats:\nrace = function(winner, ...runners) {\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2V4YW1wbGUuY29mZmVlP2MxNzAiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gVGFrZW4gZnJvbSBodHRwOi8vY29mZmVlc2NyaXB0Lm9yZy9cblxuLy8gT2JqZWN0czpcbnZhciBtYXRoLCByYWNlO1xuXG5tYXRoID0ge1xuICByb290OiBNYXRoLnNxcnQsXG4gIHNxdWFyZTogc3F1YXJlLFxuICBjdWJlOiBmdW5jdGlvbih4KSB7XG4gICAgcmV0dXJuIHggKiBzcXVhcmUoeCk7XG4gIH1cbn07XG5cbi8vIFNwbGF0czpcbnJhY2UgPSBmdW5jdGlvbih3aW5uZXIsIC4uLnJ1bm5lcnMpIHtcbiAgcmV0dXJuIHByaW50KHdpbm5lciwgcnVubmVycyk7XG59O1xuIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```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-05-10 03:34:28 +08:00
|
|
|
eval("// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\n// Splats:\nrace = function(winner, ...runners) {\n return print(winner, runners);\n};\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9leGFtcGxlLmNvZmZlZT8yNDE2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7QUFBQSxJQUFBLElBQUEsRUFBQTs7QUFHQSxJQUFBLEdBQ0U7RUFBQSxJQUFBLEVBQVEsSUFBSSxDQUFDLElBQWI7RUFDQSxNQUFBLEVBQVEsTUFEUjtFQUVBLElBQUEsRUFBUSxRQUFBLENBQUMsQ0FBRCxDQUFBO1dBQU8sQ0FBQSxHQUFJLE1BQUEsQ0FBTyxDQUFQO0VBQVg7QUFGUixFQUpGOzs7QUFTQSxJQUFBLEdBQU8sUUFBQSxDQUFDLE1BQUQsRUFBQSxHQUFTLE9BQVQsQ0FBQTtTQUNMLEtBQUEsQ0FBTSxNQUFOLEVBQWMsT0FBZDtBQURLIiwic291cmNlc0NvbnRlbnQiOlsiIyBUYWtlbiBmcm9tIGh0dHA6Ly9jb2ZmZWVzY3JpcHQub3JnL1xuXG4jIE9iamVjdHM6XG5tYXRoID1cbiAgcm9vdDogICBNYXRoLnNxcnRcbiAgc3F1YXJlOiBzcXVhcmVcbiAgY3ViZTogICAoeCkgLT4geCAqIHNxdWFyZSB4XG5cbiMgU3BsYXRzOlxucmFjZSA9ICh3aW5uZXIsIHJ1bm5lcnMuLi4pIC0+XG4gIHByaW50IHdpbm5lciwgcnVubmVyc1xuIl19\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
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```javascript
|
2019-05-10 03:34:28 +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":";;;;;;;;;AAAA;AACA;;AADA;AACA;AAEA;AACA;AACA;AACA;AAAA;AAAA;AAFA;AACA;;AAIA;AACA;AADA;;;;A","sourceRoot":""}
|
2017-04-13 06:04:10 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## cheap-source-map.js.map
|
2019-04-09 02:29:40 +08:00
|
|
|
|
|
|
|
```javascript
|
2019-05-10 03:34:28 +08:00
|
|
|
{"version":3,"file":"./bundle-cheap-source-map.js","sources":["webpack:///./example.coffee"],"sourcesContent":["// Taken from http://coffeescript.org/\n\n// Objects:\nvar math, race;\n\nmath = {\n root: Math.sqrt,\n square: square,\n cube: function(x) {\n return x * square(x);\n }\n};\n\n// Splats:\nrace = function(winner, ...runners) {\n return print(winner, runners);\n};\n"],"mappings":";;;;;;;;;AAAA;AACA;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-05-10 03:34:28 +08:00
|
|
|
Version: webpack 5.0.0-alpha.11
|
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-05-10 03:34:28 +08:00
|
|
|
./bundle-cheap-eval-source-map.js 1.44 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-cheap-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-cheap-module-eval-source-map.js 1.59 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-cheap-module-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-cheap-module-source-map.js 737 bytes {1} [emitted] bundle
|
|
|
|
./bundle-cheap-module-source-map.js.map 443 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-cheap-module-source-map.js, ./bundle-cheap-module-source-map.js.map (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-cheap-source-map.js 730 bytes {1} [emitted] bundle
|
|
|
|
./bundle-cheap-source-map.js.map 516 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-cheap-source-map.js, ./bundle-cheap-source-map.js.map (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-eval.js 786 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-eval.js (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-eval-source-map.js 1.59 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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-eval-source-map.js (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-hidden-source-map.js 678 bytes {1} [emitted] bundle
|
|
|
|
./bundle-hidden-source-map.js.map 546 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-hidden-source-map.js, ./bundle-hidden-source-map.js.map (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-inline-source-map.js 1.44 KiB {1} [emitted] bundle
|
2019-02-05 01:52:39 +08:00
|
|
|
./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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-inline-source-map.js (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-nosources-source-map.js 734 bytes {1} [emitted] bundle
|
|
|
|
./bundle-nosources-source-map.js.map 326 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-nosources-source-map.js, ./bundle-nosources-source-map.js.map (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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-05-10 03:34:28 +08:00
|
|
|
./bundle-source-map.js 724 bytes {1} [emitted] bundle
|
|
|
|
./bundle-source-map.js.map 539 bytes {1} [emitted] bundle
|
2018-12-19 21:05:17 +08:00
|
|
|
./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-05-10 03:34:28 +08:00
|
|
|
chunk {1} ./bundle-source-map.js, ./bundle-source-map.js.map (bundle) 256 bytes [initial] [rendered]
|
2018-01-20 00:06:59 +08:00
|
|
|
> coffee-loader!./example.coffee bundle
|
2019-04-04 04:48:54 +08:00
|
|
|
[0] (webpack)/node_modules/coffee-loader!./example.coffee 256 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
|
|
|
```
|