Skip to content

publicPath doesn't seem to be honoured when loading CSS #2

@insin

Description

@insin

mini-css-extract-plugin@0.1.0

Using an app with a router, which splits code per route and has publicPath: '/' in its output options, I'm seeing the following inserted into <head> when visiting a route which imports CSS:

firefox_2018-03-04_22-00-22

If I log out outputOptions in loader.js it looks ok, but don't know what's ultimately responsible for creating the full path in the compilation.createChildCompiler or NodeTemplatePlugin it gets passed to:

{ outputOptions: { filename: '*', publicPath: '/' } }

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