Andrey Sitnik
0048657b13
Add "use strict" because it may effect on tokenizer performance
2020-09-08 01:46:46 -04:00
Andrey Sitnik
9b7553e2df
Full link for migration URL
2020-08-28 20:50:44 -05:00
Andrey Sitnik
7c2a7425d7
Update link
2020-08-24 11:37:21 -05:00
Andrey Sitnik
15a248c06d
Pass postcss & Result to second argument for visitors
2020-08-07 11:46:58 -07:00
Andrey Sitnik
6fbb0d5434
Change plugin API
2020-08-06 16:00:46 -07:00
Andrey Sitnik
389b7b00a9
Export public classes from main entry
2020-07-12 16:31:09 -07:00
Andrey Sitnik
8aae507a45
Clean up types and replace JSDoc to TypeDoc
2020-07-08 17:55:13 -07:00
Andrey Sitnik
4caccf1541
Remove postcss.vendor API
2020-07-07 22:52:46 -07:00
Andrey Sitnik
fa6b5f9981
Add PrettierX
2020-07-06 17:24:57 -07:00
Andrey Sitnik
04b816cbde
Remove Babel
2020-06-21 19:13:52 -04:00
Andrey Sitnik
f43a45a907
Use .es6 ext for ES6 sources
2015-08-17 16:20:40 +03:00
Andrey Sitnik
87ba8dc66a
Use ES7 syntax to set class properties
2015-08-17 16:20:38 +03:00
Andrey Sitnik
02fd426c50
Add postcss.stringify
2015-08-17 16:20:38 +03:00
Andrey Sitnik
a425e295fd
Clean up code
2015-08-17 16:20:37 +03:00
Ben Briggs and Andrey Sitnik
14c0818209
Add plugin#process shortcut. Fixes #337 .
2015-08-17 16:20:37 +03:00
Andrey Sitnik
709200a2b4
Lint code with ESLint
2015-03-14 22:02:49 +03:00
Andrey Sitnik
7887438558
Move compatibility warning to LazyResult#run
2015-03-14 22:02:49 +03:00
Andrey Sitnik
38d3840cc1
Fix JSHint warning
2015-03-14 22:02:49 +03:00
Andrey Sitnik
4e1e0a1687
Save postcssPlugin and postcssVersion to plugin function
2015-03-14 22:02:49 +03:00
Andrey Sitnik
9eb7f69d31
Remove outdated comments because we have API.md
2015-03-14 22:02:49 +03:00
Andrey Sitnik
c26dbaa50f
Clean up code
2015-03-14 22:02:48 +03:00
Andrey Sitnik
58faac110c
Fix code indentation
2015-03-14 22:02:48 +03:00
Andrey Sitnik
7797406b3f
Verify plugin compatibility
2015-03-14 22:02:48 +03:00
Andrey Sitnik
a43880fc5f
Add postcss.plugin method
2015-03-14 22:02:48 +03:00
Andrey Sitnik
22239d0687
Make postcss.list and postcss.vendor aliases
2015-03-14 22:02:48 +03:00
Andrey Sitnik
19b1eaae14
Rename PostCSS class to Processor
2015-03-14 22:02:48 +03:00
Andrey Sitnik
a6af7ab64e
Clean up imports
2015-02-14 13:23:49 +03:00
Andrey Sitnik
35e3c61417
Use ES6 export statement instead of module.exports
2015-02-14 13:17:18 +03:00
Andrey Sitnik
912d6ea2a0
Use ES6 import
2015-02-02 07:07:53 +03:00
Andrey Sitnik
fab10ab407
Update to 6to5 3.0
2015-01-28 14:12:10 +03:00
Andrey Sitnik
569a361814
Rename PostCSS#processors to plugins
2014-12-29 01:20:52 +01:00
Andrey Sitnik
77a3121f97
Remove deprecated APIs
2014-12-27 00:24:13 +03:00
Andrey Sitnik
69c2e25b3a
Clean up code
2014-12-09 11:51:43 +03:00
Maxime Thirouin
6aca962ddd
Safer way for PostCSS to consume PostCSS object as plugin
...
Because project like grunt are doing some shitty cloning for option,
the test ìnstanceof PostCSS` can return false, even if the object has
been cloned from a PostCSS instance.
To avoid this, we need to tolerate object that have array `processors`.
Ref https://github.com/nDmitry/grunt-postcss/issues/8
2014-12-09 08:18:03 +01:00
Andrey Sitnik
dd2755318a
Inline maps by default
2014-11-06 13:22:04 +03:00
Andrey Sitnik
1723fdf6b9
Remove for-of to be free from Symbol polyfill
2014-11-06 13:22:04 +03:00
Andrey Sitnik
ae7400103c
Take map from Result object in PostCSS#process
2014-11-06 13:22:04 +03:00
Maxime Thirouin and Andrey Sitnik
e8d7fb525d
.use() can consume plugins from another postcss instance
...
Close #74
2014-11-06 13:22:03 +03:00
Andrey Sitnik
eb5fdf8146
Allow to set processors as array
2014-11-06 13:22:03 +03:00
Andrey Sitnik
862f9e4703
Allow to use object API with functions (like autoprefixer)
2014-08-28 03:11:54 +04:00
Andrey Sitnik
f802b854e0
Allow to set processor by object API
2014-08-27 12:49:52 +04:00
Andrey Sitnik
6c73021f4f
Send process options to processors
2014-08-22 14:43:02 +04:00
Andrey Sitnik
86cb8c66a2
Convert postcss to ES6
2014-07-03 01:05:06 +09:00