Skip to content

Commit

Permalink
removed lzma from chipper #746
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpen committed Mar 18, 2019
1 parent 6da8d4c commit 2549ad2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions js/grunt/buildRunnable.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const getTitleStringKey = require( './getTitleStringKey' );
const grunt = require( 'grunt' );
const jimp = require( 'jimp' );
const loadFileAsDataURI = require( '../common/loadFileAsDataURI' );
const lzma = require( 'lzma-native' ); // eslint-disable-line require-statement-match
const minify = require( './minify' );
const nodeHTMLEncoder = require( 'node-html-encoder' ); // eslint-disable-line require-statement-match
const packageRunnable = require( './packageRunnable' );
Expand Down Expand Up @@ -199,15 +198,6 @@ module.exports = async function( repo, minifyOptions, instrument, allHTML, brand
} );

grunt.file.write( allHTMLFilename, allHTMLContents );

try {
// Create LZMA compressed asset
grunt.file.write( `${allHTMLFilename}.xz`, await lzma.compress( allHTMLContents ) );
}
catch ( error ) {
grunt.log.error( error );
throw new Error( 'lzma compression failed' );
}
}

// Debug build (always included)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jscpd": "^0.6.18",
"jsdoc": "~3.5.5",
"lodash": "^4.17.10",
"lzma-native": "^4.0.3",
"md5": "~2",
"node-html-encoder": "~0.0.2",
"pngjs": "~0.4.0",
Expand Down

0 comments on commit 2549ad2

Please sign in to comment.