cra-tailwindcss icon indicating copy to clipboard operation
cra-tailwindcss copied to clipboard

Can you also add the simple code to run purgecss in production?

Open riccardogiorato opened this issue 5 years ago • 1 comments

This repository is great because it simply showcases how to use tailwind with create-react-app without other modules.

I would love just to see these few lines added to the tailwind config file to configure purge.

  purge: [
    './public/**/*.html',
    './src/**/*.tsx',
    './src/**/*.jsx',
  ],

Will you be able to add this lines @kriswep to help out newcomers? Do you prefer a Pull Request with this?

riccardogiorato avatar Jun 24 '20 05:06 riccardogiorato

Yes, that sounds good. A PR would be appreciated for sure.

kriswep avatar Jun 24 '20 18:06 kriswep