Vite warning
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 64/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- build-system
調査の方向性
vite.config.mts と、警告で示されている vite-config/ 配下の5つのファイルから始め、その後 build を実行して警告を再現します。変更を加える前に、最も近い package.json と現在のモジュール設定を確認します。記載されている native-loader とモジュールの警告なしに build が完了し、sourcemap の警告は別途確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I think we will need to change the toolkit so that we have .mjs build files generated and change the type to module. we get this warning when running the build
(!) Your Vite config uses features that are unsupported by configLoader: 'native', which is planned to become the default in a future major version of Vite:
- import "./vite-config/css" without a file extension (vite.config.mts:7:17). Add the file extension
- import "./vite-config/resolve" without a file extension (vite.config.mts:8:27). Add the file extension
- import "./vite-config/styles" without a file extension (vite.config.mts:9:26). Add the file extension
- import "./vite-config/cdn" without a file extension (vite.config.mts:10:44). Add the file extension
- import "./vite-config/components" without a file extension (vite.config.mts:11:82). Add the file extension
- ESM syntax in a file loaded as CommonJS (vite-config/css.ts:2:1). Use a
.mjsextension or set"type": "module"in the closest package.json - ESM syntax in a file loaded as CommonJS (vite-config/resolve.ts:1:1). Use a
.mjsextension or set"type": "module"in the closest package.json - ESM syntax in a file loaded as CommonJS (vite-config/styles.ts:1:1). Use a
.mjsextension or set"type": "module"in the closest package.json - ESM syntax in a file loaded as CommonJS (vite-config/cdn.ts:1:1). Use a
.mjsextension or set"type": "module"in the closest package.json - ESM syntax in a file loaded as CommonJS (vite-config/components.ts:1:1). Use a
.mjsextension or set"type": "module"in the closest package.json
SetVITE_CONFIG_NATIVE_IGNORE_WARNING=trueto suppress this warning.
vite v8.2.1 building client environment for cdn-legacy...
✓ 333 modules transformed.
computing gzip size...
dist/solid-ui.js 1,353.32 kB
dist/solid-ui.min.js 1,353.32 kB │ gzip: 385.05 kB │ map: 4,235.03 kB
[plugin @tailwindcss/vite:generate:build] [SOURCEMAP_BROKEN] Sourcemap is likely to be incorrect: a plugin (@tailwindcss/vite:generate:build) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help: https://rolldown.rs/guide/troubleshooting#warning-sourcemap-is-likely-to-be-incorrect
- 主要言語
- TypeScript
- スター
- 153
- フォーク
- 46
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SolidOS/solid-ui のほかの issue
-
enhancement
-
enhancement
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
enhancement
SolidOS/solid-ui の issue をすべて見る
似ている issue
-
comp/dashboard P3 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
langchain-ai/deepagents#6450 ·