Skip to content

[Bug]: Error occur when import css file from node_modules package #617

@NexxLuo

Description

@NexxLuo

Version

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 14.88 GB / 31.22 GB
  Browsers:
    Edge: Chromium (128.0.2739.67)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    @rslib/core: ^0.2.0 => 0.2.0

Details

Error occur when import element-ui css file like import "element-ui/lib/theme-chalk/index.css"

Image

Reproduce link

https://github.com/NexxLuo/rslib-demo.git

Reproduce Steps

  1. execute yarn install in root dir
  2. execute npm run build in package-c
  3. check the error output in the console

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions