Skip to content

Commit

Permalink
refactor: remove additional image tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinWalker committed Jan 24, 2019
1 parent fdd28fd commit 38b2130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ const config = {
new WebpackRTLPlugin(),

// Copy images and SVGs
new CopyWebpackPlugin( [ { from: 'assets/src/images', to: 'images' } ] ),
// new CopyWebpackPlugin( [ { from: 'assets/src/images', to: 'images' } ] ),

// Minify images.
// Must go after CopyWebpackPlugin above: https://github.com/Klathmon/imagemin-webpack-plugin#example-usage
new ImageminPlugin( { test: /\.(jpe?g|png|gif|svg)$/i } ),
// new ImageminPlugin( { test: /\.(jpe?g|png|gif|svg)$/i } ),

// Setup browser sync. Note: don't use ".local" TLD as it will be very slow. We recommending using ".test".
new BrowserSyncPlugin( {
Expand Down

0 comments on commit 38b2130

Please sign in to comment.