Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linked source map use full system path #12

Open
Poky85 opened this issue Jan 23, 2017 · 0 comments
Open

Linked source map use full system path #12

Poky85 opened this issue Jan 23, 2017 · 0 comments

Comments

@Poky85
Copy link

Poky85 commented Jan 23, 2017

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 Poky85 changed the title Linked source map use full system Linked source map use full system path Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant