Can't exclude loading images
See original GitHub issueExpected behaviour : Exclude images from loading
Actual behaviour : I got this warrning:
03 09 2016 19:38:22.290:WARN [web-server]: 404: /front-end2/assets/img/signup.png
Environment Details
my config:
var webpack = require('webpack');
module.exports = function (config) {
config.set({
browsers: [ 'Chrome' ],
singleRun: true,
frameworks: [ 'mocha' ],
files: [
'tests.webpack.js',
{pattern: './assets/img/signup.png', watched: false, included: false, served: true},
],
proxies: {
'/assets/img/signup.png': '/assets/img/signup.png'
},
preprocessors: {
'tests.webpack.js': [ 'webpack', 'sourcemap' ]
},
reporters: ['mocha'],
mochaReporter: {
colors: {
success: 'green',
info: 'cyan',
warning: 'blue',
error: 'blue',
false: 'blue'
},
symbols: {
success: '__+__',
info: '__#__',
warning: '_!_',
error: '__-__'
},
//output: 'minimal',
showDiff: true
},
webpack: {
devtool: 'inline-source-map',
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {
cacheDirectory: true,
plugins: ['transform-decorators-legacy' ],
presets: ['airbnb', 'es2015', 'stage-1', 'react']
}
}
]
},
externals: {
'cheerio': 'window',
'react/addons': true,
'react/lib/ExecutionEnvironment': true,
'react/lib/ReactContext': true
}
},
webpackServer: {
noInfo: true //please don't spam the console when running in karma!
}
});
};
- Karma version (output of
karma --version
): 3.10.3 - Relevant part of your
karma.config.js
file : this file is in root folder
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can't seem to exclude images from lazy loading even though ...
I have tried to exclude images using all the available media exclude methods, but the images are not excluding they always keep their...
Read more >How to Exclude Images from Lazy Load? - Magefan
Simply add the mfdislazy="1" attribute to the <img> tag as in the example. Once you add these attributes to the image within a...
Read more >Lazy Loading Images – The Complete Guide - ImageKit.io
Once all the images are loaded, we remove the event listeners. When we scroll, the scroll event triggers multiple times rapidly. Thus, for ......
Read more >I can not exclude a page from lazy load on a page - WPMU Dev
I am using Essential Grid on a page and images are now missing from that page, I tried to exclude the page but...
Read more >Organize and find photos in OneDrive - Microsoft Support
After you upload photos, OneDrive helps you organize and find your photos ... Sometimes it makes mistakes, but you can remove or edit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dignifiedquire, how is someone supposed to know that the related error message that was closed 6 months ago is still an issue?
@megamindbrian please refrain from leaving these kind of non helpful comments. This is not welcome here.