Skip to content

css?sourceMap makes images disappear... #216

Closed
@eyalw

Description

@eyalw

my config:

       {
        test: /\.scss$/,
        loaders: ['style', 'css?sourceMap', 'postcss', 'sass?sourceMap&sourceMapContents'],
      },
      {
        test: /\.(png|jpg)$/,
        loader: 'url?limit=25000',
      },

and I have a scss file containing background-image: url('./invision.png');

Problem

I found those urls when clicking "open in a new tab" in the style panel in Chrome dev tools.

obviously the image doesn't show on the DOM when I use sourcemap....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions