Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi authored and ImgBotApp committed Jun 5, 2023
1 parent 1b5b055 commit c7e1eb3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
process.env.NODE_ENV === 'production' && require('cssnano'),
process.env.NODE_ENV === 'production' && require('cssnano')({
"preset": [
"default",
{
"mergeRules": false,
"normalizeWhitespace": false,
}
]
}),
]
}
10 changes: 9 additions & 1 deletion src/docs/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ module.exports = {
(process.env.NODE_ENV === 'production') ? null : require('postcss-nested'),
require('tailwindcss'),
require('autoprefixer'),
(process.env.NODE_ENV === 'production') ? require('cssnano') : null,
(process.env.NODE_ENV === 'production') ? require('cssnano')({
"preset": [
"default",
{
"mergeRules": false,
"normalizeWhitespace": false,
}
]
}) : null,
]
}

0 comments on commit c7e1eb3

Please sign in to comment.