@hashicorp/platform-postcss-config

Shared PostCSS config for HashiCorp Next.js websites

Usage no npm install needed!

<script type="module">
  import hashicorpPlatformPostcssConfig from 'https://cdn.skypack.dev/@hashicorp/platform-postcss-config';
</script>

README

@hashicorp/platform-postcss-config

This package provides a shared PostCSS configuration that can be used in HashiCorp Next.js sites.

Usage

Install the config package as a dev dependency:

npm install --save-dev @hashicorp/platform-postcss-config

Create a postcss.config.js file if it doesn't exist, and import the package.

module.exports = {
  ...require('@hashicorp/platform-postcss-config'),
}

CSS Processing

This package configures a standard stack of PostCSS plugins, listed below: