Remove the `.min` renaming step

This commit is contained in:
Kelly Dwan 2019-02-25 15:02:54 -05:00
parent 2b5ab03a2d
commit 3c57620520
11 changed files with 0 additions and 1 deletions

View File

@ -352,7 +352,6 @@ module.exports = function( grunt ) {
cwd: 'node_modules/@woocommerce/block-library/build', cwd: 'node_modules/@woocommerce/block-library/build',
src: '*.js', src: '*.js',
dest: '<%= dirs.js %>/blocks/', dest: '<%= dirs.js %>/blocks/',
rename: ( dest, src ) => dest + src.replace( '.js', '.min.js' ),
options: { options: {
process: ( content ) => content.replace( /'woo-gutenberg-products-block'/g, "'woocommerce'" ) process: ( content ) => content.replace( /'woo-gutenberg-products-block'/g, "'woocommerce'" )
} }