File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ let commands = {
122122 '--output' : { type : String , description : 'Output file' } ,
123123 '--watch' : { type : Boolean , description : 'Watch for changes and rebuild as needed' } ,
124124 '--jit' : { type : Boolean , description : 'Build using JIT mode' } ,
125- '--files ' : { type : String , description : 'Template files to scan for class names ' } ,
125+ '--purge ' : { type : String , description : 'Content paths to use for removing unused classes ' } ,
126126 '--postcss' : { type : Boolean , description : 'Load custom PostCSS configuration' } ,
127127 '--minify' : { type : Boolean , description : 'Minify the output' } ,
128128 '--config' : {
@@ -344,8 +344,8 @@ async function build() {
344344 let config = configPath ? require ( configPath ) : { }
345345 let resolvedConfig = resolveConfigInternal ( config )
346346
347- if ( args [ '--files ' ] ) {
348- resolvedConfig . purge = args [ '--files ' ] . split ( ',' )
347+ if ( args [ '--purge ' ] ) {
348+ resolvedConfig . purge = args [ '--purge ' ] . split ( ',' )
349349 }
350350
351351 if ( args [ '--jit' ] ) {
You can’t perform that action at this time.
0 commit comments