1.4.0 • Published 2 years ago

@acidgreenau/postcss-in-js v1.4.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

PostCSS in JS/TS


This Webpack loader is very simple it aims to:

  • Replace PostCSS from stylesheets inside of JavaScript
  • To the output of the PostCSS compiler

To achieve the above functionality, we need to flag where the PostCSS starts and ends. To do so we need to:

  • pass a comment at the start: //*__POSTCSS__*//
  • Pass a comment at the end: //!*__POSTCSS__*//
  • With the only differences being a bang! at the start of the comment.

The loader should be passed after all other loaders required. 1. If you have JavaScript or Typescript 2. Pass it after the ts-loader, or babel-loader.

1.4.0

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago