Remove the `.min` renaming step
This commit is contained in:
parent
2b5ab03a2d
commit
3c57620520
|
@ -352,7 +352,6 @@ module.exports = function( grunt ) {
|
|||
cwd: 'node_modules/@woocommerce/block-library/build',
|
||||
src: '*.js',
|
||||
dest: '<%= dirs.js %>/blocks/',
|
||||
rename: ( dest, src ) => dest + src.replace( '.js', '.min.js' ),
|
||||
options: {
|
||||
process: ( content ) => content.replace( /'woo-gutenberg-products-block'/g, "'woocommerce'" )
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue