Skip to content

Commit

Permalink
feat: add postcss-plugin (facebook#781)
Browse files Browse the repository at this point in the history
* feat: add postcss-plugin
* fix postcss-plugin readme text
* remove .ts, .tsx from node_modules @stylexjs/open-props globs in postcss.config.js
* do not rely on internal exports path
* fix: remove redundant @layer stylex
  • Loading branch information
javascripter authored and aminaopio committed Dec 22, 2024
1 parent 2cc9e14 commit 1a187c2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
15 changes: 15 additions & 0 deletions apps/nextjs-example/app/stylex.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/

/**
* The @stylex directive is used by the @stylexjs/postcss-plugin.
* It is automatically replaced with generated CSS during builds.
*/

@stylex;
14 changes: 9 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a187c2

Please sign in to comment.