Skip to content

How to configure autoprefixer ? #206

Closed Answered by pixeline
pixeline asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I should have thought of checking autoprefixer documentation sooner :-)

Simply add a browserslist entry to the package.json

Example:

{
	"name": "apptweak-theme",
	"version": "0.2.0",
	"description": "WordPress theme based on Tailwind CSS.",
	"author": "Alexandre Plennevaux",
	"repository": {
		"type": "git",
		"url": "https://github.com/apptweak/cms"
	},
	"theme_uri": "https://github.com/apptweak/cms",
	"author_uri": "https://www.apptweak.com",
	"text_domain": "apptweak-theme",
	"license": "MIT",
	"scripts": {
		"production:css-app": "cross-env NODE_ENV=development tailwindcss -i ./resources/css/app.css -o ./css/app.css --postcss --minify",
		"production:css-login": "cross-env NODE_EN…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pixeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant