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

v2.0.0 #191

Merged
merged 2 commits into from
May 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
node_modules/
# OS

.DS_Store
._*

# NODEJS

npm-debug.log
yarn-error.log
build/

dmd
jest
coverage
jsdoc-api
node_modules
22 changes: 16 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# FILES

.travis.yml
.gitignore
.npmignore
.editorconfig

node_modules/
.travis.yml

npm-debug.log
yarn-error.log

yarn.lock
yarn-error.log

build/
test/
.travis.yml

gulpfile.js
# DIRECTORIES

.github

dmd
test
coverage
jsdoc-api
node_modules
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
cache:
yarn: true
directories:
- node_modules

language: node_js
cache: yarn
node_js:
- stable
- "6"
- "4"
- "node"
- 6
- 4

notifications:
email: false
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
License (MIT)

Copyright 2014 Andrey Sitnik <andrey@sitnik.ru>
Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
46 changes: 46 additions & 0 deletions LOADER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<a name="loader"></a>

## loader(css, map) ⇒ <code>cb</code>
PostCSS Loader

> Loads && processes CSS with [PostCSS](https://github.com/postcss/postcss)

**Kind**: global function
**Returns**: <code>cb</code> - cb Result
**Requires**: <code>module:path</code>, <code>module:loader-utils</code>, <code>module:schema-utils</code>, <code>module:postcss</code>, <code>module:postcss-load-config</code>, <code>module:Error</code>
**Version**: 2.0.0
**Author**: Andrey Sitnik (@ai) <andrey@sitnik.ru>
**License**: MIT

| Param | Type | Description |
| --- | --- | --- |
| css | <code>String</code> | Source |
| map | <code>Object</code> | Source Map |


* [loader(css, map)](#loader) ⇒ <code>cb</code>
* [.cb](#loader.cb) : <code>function</code>
* [.cb](#loader.cb) : <code>function</code>

<a name="loader.cb"></a>

### loader.cb : <code>function</code>
**Kind**: static typedef of [<code>loader</code>](#loader)

| Param | Type | Description |
| --- | --- | --- |
| null | <code>Object</code> | Error |
| result | <code>String</code> | Result (JS Module) |
| map | <code>Object</code> | Source Map |

<a name="loader.cb"></a>

### loader.cb : <code>function</code>
**Kind**: static typedef of [<code>loader</code>](#loader)

| Param | Type | Description |
| --- | --- | --- |
| null | <code>Object</code> | Error |
| css | <code>String</code> | Result (Raw Module) |
| map | <code>Object</code> | Source Map |

Loading