Comments (7)
@XhmikosR Yes, I'll try to figure it out now.
from csso-cli.
Fix shipped in 2.0.0 with other changes
from csso-cli.
We use server-side post-commit hooks to deploy changes to server. Thus we add map files to git.
Full path in "sources" makes work very annoying when your colleague change something in css and your working copy became partially invalid.
from csso-cli.
I'm amazed that, about a year later, this hasn't had much attention. It's a rather important feature for users who have workflows similar to the one mentioned above, where map files are committed into VCS. This can be rather bothering since absolute paths -- meaning personal OS file tree structure is also committed into VCS -- might contain sensitive information.. Might, may not, but it is a possibility
from csso-cli.
Here's a possible solution. Replace path.resolve
with path.relative
, just as is, having return relative paths with regards to the cwd
to the input and/or output files.
Lines 207 to 215 in f79854f
Could be made an option, so one could optionally relativize paths and keep the absolute path alternative baked in as well.
from csso-cli.
@lahmatiy any chance you could get this fixed? I'm looking into switching to csso and it seems we are hitting this issue.
from csso-cli.
@lahmatiy: there's still an issue on Windows with v2.0.0:
dist\\css\\bootstrap-grid.css
I suggest that you either enable Windows testing on Travis or add AppVeyor :)
from csso-cli.
Related Issues (14)
- Unable to install the package with npm HOT 5
- Skipping optional dependency: fsevents: unsupported platform. wanted {arch: any} even though current is arch: x64? HOT 2
- 2.0.2 Release still refers "chokidar": "^1.6.1" HOT 2
- Windows Full path to file not working HOT 1
- Removed from npm? HOT 2
- Extremely slow operation HOT 4
- Versions outdated and wrong HOT 1
- lib folder missing from [email protected] package HOT 1
- Syntax error in vm.js (csso-cli v4.0) HOT 2
- this.showHelp is not a function HOT 1
- Add `--watch` option HOT 4
- npm install no longer creates a csso link in ./node_modules/.bin/csso HOT 1
- Possible to have multiple input files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csso-cli.