Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Missing source maps support for multi-file compilation #903

Closed
kkopachev opened this issue Apr 29, 2015 · 1 comment
Closed

Missing source maps support for multi-file compilation #903

kkopachev opened this issue Apr 29, 2015 · 1 comment

Comments

@kkopachev
Copy link
Contributor

Currently it is impossible to compile directory with source maps output.

node-sass --source-map=true -r -o ./css ./scss outputs all maps into one file ./css/scss.css.map which contains sourcemap content for last compiled file.
If I specify directory for source maps node-sass --source-map=css -r -o ./css ./scss then it throws an error

Rendering Complete, saving .css file...
ErrorError: EISDIR, open '/home/kkopachev/dev/css'

version info

$ node-sass -v
node-sass   3.0.0-beta.7    (Wrapper)   [JavaScript]
libsass     3.2.0-beta.6    (Sass Compiler) [C/C++]

multi-file compilation was added in #838

am11 added a commit to am11/node-sass that referenced this issue May 17, 2015
* For multi-file compilation.
* Written test.
* Usage:

  ```javascript
  node-sass --source-map source-map/dir --output css/path style/src/
  ```

Issue URL: sass#903.
PR URL: sass#964.
am11 added a commit to am11/node-sass that referenced this issue May 18, 2015
* For multi-file compilation.
* Written test.
* Usage:

  ```javascript
  node-sass --source-map source-map/dir --output css/path style/src/
  ```

Issue URL: sass#903.
PR URL: sass#964.
@am11
Copy link
Contributor

am11 commented May 19, 2015

Fixed by 1c65c53 va #964.

@am11 am11 closed this as completed May 19, 2015
@xzyfer xzyfer added this to the next.patch milestone May 19, 2015
@xzyfer xzyfer mentioned this issue May 20, 2015
@xzyfer xzyfer modified the milestones: next.patch, v3.1.2 Jun 10, 2015
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants