File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ target.mocha = () => {
560560target . karma = ( ) => {
561561 echo ( "Running unit tests on browsers" ) ;
562562
563- target . webpack ( ) ;
563+ target . webpack ( "production" ) ;
564564
565565 const browserFileLintOutput = new CLIEngine ( {
566566 useEslintrc : false ,
@@ -775,16 +775,7 @@ target.gensite = function(prereleaseVersion) {
775775 echo ( "> Removing the temporary directory (Step 12)" ) ;
776776 rm ( "-rf" , TEMP_DIR ) ;
777777
778- // 13. Update demos, but only for non-prereleases
779- if ( ! prereleaseVersion ) {
780- echo ( "> Updating the demos (Step 13)" ) ;
781- target . webpack ( "production" ) ;
782- cp ( "-f" , "build/eslint.js" , `${ SITE_DIR } src/js/eslint.js` ) ;
783- } else {
784- echo ( "> Skipped updating the demos (Step 13)" ) ;
785- }
786-
787- // 14. Create Example Formatter Output Page
778+ // 13. Create Example Formatter Output Page
788779 echo ( "> Creating the formatter examples (Step 14)" ) ;
789780 generateFormatterExamples ( getFormatterResults ( ) , prereleaseVersion ) ;
790781
You can’t perform that action at this time.
0 commit comments