livescript-loader icon indicating copy to clipboard operation
livescript-loader copied to clipboard

Linked source map use full system path

Open Poky85 opened this issue 8 years ago • 0 comments

I am using livescript-loader 0.1.5 with default options (map: "linked").

In compiled output there is source map linked using full-system path (see bellow). Is it correct? This completely breaks long-term cache because such cache would be system-path-dependent.

/* 1 */
/*!*******************************************************!*\
  !*** ./src/test.ls ***!
  \*******************************************************/
/***/ function(module, exports) {

// some code here...

//# sourceMappingURL=/Users/jiripokorny/www/myproject/node_modules/livescript-loader/index.js!/Users/jiripokorny/www/myproject/src/test.ls.map

Poky85 avatar Jan 23 '17 20:01 Poky85