Skip to content

Commit

Permalink
fix: add loader for gif (#2066)
Browse files Browse the repository at this point in the history
add loader to support loading of gif images

Closes #1878
  • Loading branch information
FallenRiteMonk authored and hansl committed Sep 12, 2016
1 parent 7150cf9 commit 126c82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/ng2/models/webpack-build-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function getWebpackCommonConfig(
{ include: scripts, test: /\.js$/, loader: 'script-loader' },

       { test: /\.json$/, loader: 'json-loader' },
       { test: /\.(jpg|png)$/, loader: 'url-loader?limit=10000' },
       { test: /\.(jpg|png|gif)$/, loader: 'url-loader?limit=10000' },
       { test: /\.html$/, loader: 'raw-loader' },

{ test: /\.(woff|ttf|svg)$/, loader: 'url?limit=10000' },
Expand Down

1 comment on commit 126c82b

@sohaibjaved44
Copy link

@sohaibjaved44 sohaibjaved44 commented on 126c82b Feb 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey I'm using webpack and facinig same problem, I have checked the gif file it exists and I'm referencing it rightly but here is the error detail
image

Please sign in to comment.