diff --git a/guides/react.md b/guides/react.md index 0f0ebf6..20466e4 100644 --- a/guides/react.md +++ b/guides/react.md @@ -70,7 +70,7 @@ const glob = require('glob-all') // for more information about PurgeCSS. // Specify the path of the html files and source files new PurgecssPlugin({ - paths: [paths.appHtml, ...glob.sync(`${paths.appSrc}/*`)] + paths: [paths.appHtml, ...glob.sync(`${paths.appSrc}/*`, { nodir: true })] }), ```