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

Option to get sourcemaps not inlined #44

Open
iamvdo opened this issue Feb 27, 2015 · 2 comments
Open

Option to get sourcemaps not inlined #44

iamvdo opened this issue Feb 27, 2015 · 2 comments
Labels

Comments

@iamvdo
Copy link
Owner

iamvdo commented Feb 27, 2015

As for now, if you want sourcemaps not inlined in CSS, you need to use:

{
   "sourcemaps": {
        "map": {
            "inline": false
        }
    }
}

as the PostCSS specify it.
I want to add an alias as string, but can't find a simple and unambiguous word. For example like:

"external"
"separate"
"outside"
"out"

We'll use it as:

{
   "sourcemaps": "..."
}

or even:

{
   "sourcemaps": {
        "map": "..."
    }
}

Any opinion someone ?

@iamvdo iamvdo added the question label Mar 3, 2015
@nexflo
Copy link

nexflo commented Oct 6, 2015

honestly, I like inline: false ^^
for an alias i would go for "reference or external" as you are referencing the external sourcemap ;)

@7studio
Copy link

7studio commented Oct 7, 2015

You could also follow the Sass way by enabling sourcemap by default 😄

I would treat the option in this way:

  • sourcemaps: none to disable source maps
  • sourcemaps: "../maps" to write external source map files
  • sourcemaps: inline to embed source maps in source files

I hope that it will help you.
🐈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants