Skip to content

Commit

Permalink
fix: only remove tcpdf fonts during release - not on npm run producti…
Browse files Browse the repository at this point in the history
…on - files are removed using shell script at time of release - Resolves #3803
  • Loading branch information
DevinWalker committed Oct 25, 2018
1 parent 5f4c4b2 commit 0cc18bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions webpack.config.js
Expand Up @@ -174,6 +174,4 @@ if ( inProduction ) {
// Minify CSS.
config.plugins.push( new webpack.LoaderOptionsPlugin( { minimize: true } ) );

// Delete fonts related to TCPDF.
config.plugins.push( new CleanWebpackPlugin( ['assets/src/tcpdf-fonts'] ) );
}

0 comments on commit 0cc18bc

Please sign in to comment.