question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't exclude loading images

See original GitHub issue

Expected 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Jun 12, 2017

@dignifiedquire, how is someone supposed to know that the related error message that was closed 6 months ago is still an issue?

0reactions
dignifiedquirecommented, Jun 12, 2017

@megamindbrian please refrain from leaving these kind of non helpful comments. This is not welcome here.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found