Custom bundle doesn't generate CSS file anymore.
Đang mở
Chưa có ai nhận issue này.
bug
P2
- Ngôn ngữ chính
- JavaScript
- Star
- 18.3k
- Fork
- 2k
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 28
Mô tả
When generating a custom bundle, no CSS file is generated any more, even though it's mentioned in the output.
Steps to reproduce
$ git clone https://github.com/plotly/plotly.js.git
$ cd plotly.js
$ git checkout e6b155c1c91603eb0946f111bc3415b222422230
$ npm install
$ npm run custom-bundle -- --traces sunburst --transforms none --strict --out sunburst
> plotly.js@2.35.2 custom-bundle
> node tasks/custom_bundle.mjs --traces sunburst --transforms none --strict --out sunburst
{
traceList: [ 'scatter', 'sunburst' ],
name: 'sunburst',
index: '/users/tkm/dhauck/kekse/plotly.js/lib/index-strict-sunburst.js',
strict: true,
dist: '/users/tkm/dhauck/kekse/plotly.js/dist/plotly-sunburst.js',
distMin: '/users/tkm/dhauck/kekse/plotly.js/dist/plotly-sunburst.min.js'
}
dist/plotly-sunburst.min.js 1.0mb ⚠️
dist/plotly-sunburst.min.css 63.9kb
⚡ Done in 750ms
This results in the following extra files being generated:
$ git clean -dxn
Would remove dist/plotly-sunburst.min.js
Would remove lib/index-strict-sunburst.js
Would remove node_modules/
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với tasks/custom_bundle.mjs và tái hiện lệnh npm run custom-bundle được ghi lại tại commit e6b155c1c91603eb0946f111bc3415b222422230. So sánh dist/plotly-sunburst.min.js được tạo ra và đầu ra CSS mong đợi với git clean -dxn; hoàn tất khi custom bundle tạo ra tệp CSS được đề cập trong đầu ra build.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100