Skip to content

Commit b381588

Browse files
authored
Merge pull request #1 from tim-hub/master
add support to jsx and tsx
2 parents c26c090 + c09075d commit b381588

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = (config, env, helpers, params = defaultParams) => {
1111

1212
const purgecss = require("@fullhuman/postcss-purgecss")({
1313
// Specify the paths to all of the template files in your project
14-
content: ["./src/**/*.js"],
14+
content: ["./src/**/*.tsx", "./src/**/*.js", "./src/**/*.jsx"],
1515

1616
// Include any special characters you're using in this regular expression
1717
defaultExtractor: content => content.match(params.regex) || [],

0 commit comments

Comments
 (0)