diff --git a/tailwind.config.js b/tailwind.config.js index 8eca649..a71e88d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,14 @@ module.exports = { - purge: false, + purge: { + enabled: process.env.NODE_ENV === 'production', + content: [ + 'components/**/*.vue', + 'layouts/**/*.vue', + 'pages/**/*.vue', + 'plugins/**/*.js', + 'nuxt.config.js' + ] + }, future: { purgeLayersByDefault: true, },