Skip to content

Linked source map use full system path #12

@Poky85

Description

@Poky85

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions