gpu.js 不能被webpack 打包使用吗
- 主要言語
- JavaScript
- スター
- 15.5k
- フォーク
- 663
- PR マージ指標
- 30日以内にマージされた PR はありません
説明

## *What* is wrong?
## *Where* does it happen?
## *How* do we replicate the issue?
## *How* important is this (1-5)?
## Expected behavior (i.e. solution)
打包编译就报错 开发环境 很正常
renderer.js:1 Error: Error compiling fragment shader: ERROR: 0:404: '!' : wrong operand type - no operation '!' exists that takes an operand of type lowp int (or there is no acceptable conversion)
ERROR: 0:404: '&&' : wrong operand types - no operation '&&' exists that takes a left-hand operand of type 'bool' and a right operand of type 'void' (or there is no acceptable conversion)
## Other Comments
コントリビューションガイド
調査の方向性
まず gpu.js の本番 webpack ビルドを再現し、issue で報告されている renderer.js の fragment-shader コンパイルエラーを調査します。関連する開発ビルドとバンドル済みビルドを確認し、それらの shader の動作を比較します。webpack でビルドしたバージョンが報告された GLSL 型エラーなしでコンパイルできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, webpack
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100