Comments (3)
@tonyganch: I've updated the mixin to use the csscomb node module. This has been pushed as v2.0.0 and is live in Chocolat's "Install Mixin" menu.
from csscomb.chocmixin.
@drudge, I don't like the idea of storing node_modules
, the whole csscomb.js
repo and all its dependencies in this plugin.
And I'm sad that it's published already.
Can we please discuss this?
from csscomb.chocmixin.
@drudge, first of all, the plugin is broken now.
Have you tested it?
You can not use csscomb like this: new Comb().processString(text)
.
There should be a config file.
Default one is .csscomb.json
in the root of the module.
So code should like this:
var comb = new Comb(),
config = require(pathToConfig);
comb.configure(config);
comb.processString(text);
Secondly, csscomb's module should be removed from this repo.
There are at least two ways to include it:
- Ask users to run
npm install csscomb -g
and then require the global module inside your plugin. - Require
npm
module inside your plugin, runnpm install csscomb
(either with spawn/exec, or withnpm.load()
) and then use the local module.
The second one is preferred if there is no problem with write permissions.
Please, can you unpublish this broken version?
from csscomb.chocmixin.
Related Issues (3)
- How to Launch? HOT 2
- SASS 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 csscomb.chocmixin.