Skip to content

dva-cli0.9.2,.webpackrc无法配置devServer #164

@yanyue-wyy

Description

@yanyue-wyy

devServer无法配置,没有publicPath,打包出来的文件文件默认是
http://localhost:8000/index.js
http://localhost:8000/index.css
这样的路径,无法直接访问该文件,导致和服务端调试的时候,无法将文件map到本地,因为以上两个路径直接返回了html,请问如何解决这个问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions