0.9.0 • Published 1 year ago

@aklesky/postcss-config v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

PostCSS Configuration Preset

Installation

npm

npm install @aklesky/postcss-config

yarn

yarn add @aklesky/postcss-config

Usage

tsconfig.json

{
// ...
    "ts-node": {
        "moduleTypes": {
            "postcss.config.ts": "cjs"
        }
    },
//...
}

postcss.config.ts

import setup from '@aklesky/postcss-config/config.js'

export default {
    ...setup(),
}

Usage with @aklesky/tailwind-config

postcss.config.ts

import setup from '@aklesky/postcss-config/config.js'
import tailwind from '@aklesky/tailwind-config/plugin.js'

const config = setup({})

export default {
    ...config,
    plugins: [...config.plugins, tailwind()],
}
0.9.0

1 year ago

0.8.0

1 year ago

0.7.14

1 year ago

0.7.11

1 year ago

0.7.13

1 year ago

0.7.12

1 year ago

0.7.10

1 year ago

0.7.9

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.8

1 year ago

0.7.7

1 year ago

0.6.7

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago