46 Commits
Author SHA1 Message Date
Andrey Sitnik c5e0bbb118 Explain how to type plugin options 2026-07-29 14:06:29 +00:00
Hashim KhanandGitHub 14f8d11a0c docs: show ESM and TypeScript plugin declaration (#2118)
* docs: show ESM and TypeScript plugin declaration

Document the maintainer-recommended pattern of setting postcss = true on
the creator function and default-exporting it, so ES modules and TypeScript
do not need module.exports.

Fixes #1771

* docs: make ESM the default plugin example
2026-07-29 16:04:29 +02:00
Andrey Sitnik 2b83c89558 Add supply chain security requirement to PostCSS plugin guide 2026-07-29 09:35:10 +00:00
777b574698 docs: fix invalid JS in writing-a-plugin examples (#2107)
Co-authored-by: Lenox Fernando <[email protected]>
2026-07-03 08:00:46 +02:00
Andrey Sitnik 85bf516d71 Move to oxfmt 2026-04-07 16:07:54 +00:00
Andrey Sitnik 6467ec4562 Clarify usage in docs 2024-10-02 23:17:20 +02:00
Andrey Sitnik c571066f56 Remove another link 2023-08-04 20:53:29 +02:00
Andrey Sitnik 223e5a124b Remove old Gitter chat 2023-08-04 20:52:12 +02:00
Andrey Sitnik c3fc887776 Update plugin guide 2023-07-11 19:46:03 +02:00
muddvandGitHub e132240f4b Delete duplicate title 2022-10-05 23:32:23 +03:00
muddvandGitHub 39de9e0afe Move title 2022-10-05 23:13:19 +03:00
55464f9749 Update docs/writing-a-plugin.md
Co-authored-by: Andrey Sitnik <[email protected]>
2022-09-28 21:29:58 +03:00
muddvandGitHub 5aae0b64b3 move table of contents 2022-09-28 21:28:07 +03:00
muddvandGitHub dd080aceb9 delete root link 2022-09-28 21:19:46 +03:00
muddvandGitHub 12b017ab77 rable of contents for writing-a-plugin.md 2022-09-28 20:43:51 +03:00
Andrey Sitnik 9cfcc894f1 Fix link 2022-07-14 13:28:17 +02:00
Brad Cornes 204e0711bb Add docs for dir-dependency and messageTypes 2021-05-13 14:32:42 +01:00
Andrey Sitnik 11e7579e00 Update branch name 2020-12-01 17:10:13 -05:00
Andrey Sitnik 6b6245b463 Clean up docs 2020-10-18 19:48:19 -04:00
Yunus GazievandGitHub 847200fc0e #1435 Add note to docs about Symbol() usage (#1436) 2020-10-10 00:18:06 -04:00
Andrey Sitnik 70cf363b00 Add events list to article 2020-10-06 12:59:51 -04:00
Andrey Sitnik 0d49399d5d Add Once and OnceExit events 2020-09-25 15:56:19 -04:00
Andrey Sitnik cb849f4d95 Improve examples 2020-09-10 01:14:04 -04:00
Andrey Sitnik c6d2ab1604 Use RootExit instead of Exit 2020-08-24 00:50:22 -05:00
Andrey Sitnik ff1541c36d Add Exit visitor 2020-08-23 18:26:46 -05:00
Andrey Sitnik 94ec632996 Note about re-visiting 2020-08-22 16:28:21 -05:00
Andrey Sitnik ddacc34852 Add Plugin#prepare() 2020-08-22 15:34:57 -05:00
Andrey Sitnik 7af5f803f0 Fix newline 2020-08-22 14:58:42 -05:00
Andrey Sitnik fd632f43d4 Add note to find all decls with a quick search 2020-08-22 00:13:58 -05:00
Andrey Sitnik 6a0b8cd0cb Update plugin API in TypeDoc 2020-08-22 00:09:47 -05:00
Andrey Sitnik 483cc0f267 Write a plugin guide 2020-08-21 23:53:59 -05:00
Alexey BondarenkoandGitHub ec993a7fb7 docs: Update "Writing a PostCSS Plugin" (#1291)
* docs: Update "Writing a PostCSS Plugin"

* docs: Update "Writing a PostCSS Plugin"

* docs: Update "Writing a PostCSS Plugin"

* docs: Update "Writing a PostCSS Plugin"
2020-08-20 17:08:12 -05:00
Andrey Sitnik dae44fb577 Add new link about writing new plugin 2018-02-01 14:38:43 -05:00
Andrey Sitnik a5d90c1959 Use new start code in AST Explorer 2016-09-11 11:48:23 +10:00
dryomaandAndrey Sitnik ec70b2196e Add postcss-media-query-parser to the tools list (#852) 2016-07-26 11:20:16 +03:00
Soul-wishandAndrey Sitnik d7fbb3562d fix issue with PostCSS API link in the docs 2016-07-10 23:30:33 +03:00
Andrey Sitnik 10068658d9 Update link to new API docs 2016-07-10 23:30:33 +03:00
Andrey Sitnik 31a5f4cc55 Add postcss-functions to developer links 2016-01-13 18:22:47 +03:00
Jed MaoandAndrey Sitnik 08fd21a9fa Add more tools to writing-a-plugin.md 2015-12-16 10:12:09 +03:00
Andrey Sitnik d12df5c7d5 Add tutorial to writing a plugin docs 2015-12-11 23:26:01 +03:00
Andrey Sitnik 7a77bc1033 Playground is good for learning 2015-12-09 06:02:52 +03:00
Andrey Sitnik eaf94214be Better link for AST explorer 2015-12-09 06:02:23 +03:00
Andrey Sitnik 3d3fc2d0df Use direct link to AST explorer 2015-12-08 14:39:10 +03:00
Andrey Sitnik b11567ad19 Use new AST explorer 2015-12-08 14:25:56 +03:00
Andrey Sitnik 4988d77fb1 Add Twitter link to developer docs 2015-12-02 22:06:26 +01:00
Andrey Sitnik a88c9b0f80 Add Writing a PPlugin docs 2015-12-02 21:35:57 +01:00