Why is webpack processing the `.tsbuildinfo` files?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, typescript, webpack
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu bằng cách chạy yarn build và xem xét đầu ra build của webpack để tìm các asset .tsbuildinfo được tạo ra. Truy vết cấu hình build nào bao gồm các tệp bộ nhớ đệm TypeScript này; hoàn tất khi các tệp bộ nhớ đệm không còn được xử lý dưới dạng asset webpack, hoặc issue giải thích rõ vì sao chúng được tạo ra và liệu cảnh báo có phải là điều được mong đợi hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
~/C/ember-debug ❯❯❯ yarn build
yarn run v1.22.4
$ yarn build:webpack
$ webpack -p
Hash: 760f366086dcd1d35a3b
Version: webpack 4.43.0
Time: 6079ms
Built at: 11/02/2020 6:58:53 PM
Asset Size Chunks Chunk Names
../packages/ember-debug-global/dist/index.d.ts 46 bytes [emitted]
../packages/ember-debug-global/dist/index.d.ts.map 104 bytes [emitted]
../packages/ember-debug-global/dist/index.js 908 bytes [emitted]
../packages/ember-debug-global/dist/index.js.map 864 bytes [emitted]
../packages/ember-debug-global/tmp/.tsbuildinfo 292 KiB [emitted] [big]
../packages/ember-debug/dist/index.d.ts 323 bytes [emitted]
../packages/ember-debug/dist/index.d.ts.map 371 bytes [emitted]
../packages/ember-debug/dist/index.js 417 bytes [emitted]
../packages/ember-debug/dist/index.js.map 505 bytes [emitted]
../packages/ember-debug/tmp/.tsbuildinfo 291 KiB [emitted] [big]
bookmarklet.js 12.2 KiB 0 [emitted] main
index.html 1.02 KiB [emitted]
Entrypoint main = bookmarklet.js
[2] ./bookmarklet.ts 72 bytes {0} [built]
[3] ./packages/ember-debug-global/dist/index.js + 1 modules 1.59 KiB {0} [built]
| ./packages/ember-debug-global/dist/index.js 775 bytes [built]
| ./packages/ember-debug/dist/index.js 847 bytes [built]
+ 2 hidden modules
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
../packages/ember-debug/tmp/.tsbuildinfo (291 KiB)
../packages/ember-debug-global/tmp/.tsbuildinfo (292 KiB)
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Child HtmlWebpackCompiler:
1 asset
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./index.html 1.38 KiB {0} [built]
✨ Done in 8.00s.
Not sure if this has always been the case or it was something we did "recently". Webpack is complaining that some of the "asset" files are too big, and it turns out it was talking about the .tsbuildinfo files. These are basically internal caches used by TypeScript, and I'm not sure why Webpack would need to process them at all. I think something is probably misconfigured somewhere, or maybe the warning is just wrong/superfluous... needs investigation.
- Ngôn ngữ chính
- JavaScript
- Star
- 5
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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.
Issue khác của emberjs/ember-debug
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
emberjs/ember-debug#5 · 2 reaction ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
emberjs/ember-debug#4 ·
-
Get Routable EngineInstanceĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
emberjs/ember-debug#3 · 1 bình luận · 1 reaction ·
-
Get the Ember version usedĐang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
emberjs/ember-debug#2 · 2 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
emberjs/ember-debug#1 · 2 bình luận ·
Tất cả issue của emberjs/ember-debug
Issue tương tự
-
Design only Leadership Survey SLFS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
bcgov/digital-journeys#2293 ·
-
Toolkit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
API Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jessepollak/home#1454 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
opensearch-project/OpenSearch-Dashboards#12822 ·
Maintainer thường phản hồi trong vòng 1 ngày