mirror of https://github.com/portainer/portainer
chore(deps): add tailwindcss [DTD-29] (#6604)
parent
d08b498cb9
commit
141a530e28
@ -1,8 +1,9 @@
|
||||
module.exports = ({ env }) => ({
|
||||
plugins: {
|
||||
plugins: [
|
||||
// add vendor prefixes
|
||||
autoprefixer: { browsers: 'last 2 versions' },
|
||||
require('autoprefixer'),
|
||||
// minify the result
|
||||
cssnano: env !== 'development' ? {} : false,
|
||||
},
|
||||
env !== 'development' && require('cssnano'),
|
||||
require('tailwindcss'),
|
||||
],
|
||||
});
|
||||
|
@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
content: ['./app/**/*.{html,tsx}'],
|
||||
corePlugins: {
|
||||
preflight: false,
|
||||
},
|
||||
theme: {
|
||||
colors: {},
|
||||
},
|
||||
};
|
Loading…
Reference in new issue