gpujs / gpujs/gpu.js

gpu.js 不能被webpack 打包使用吗

Offen
#587 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
15.5k
Forks
663
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

![A GIF or MEME to give some spice of the internet](url)

## *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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing a production webpack build of gpu.js and inspect the renderer.js fragment-shader compilation error reported in the issue. Confirm the relevant development and bundled builds, then compare their shader behavior; done means the webpack-built version compiles without the reported GLSL type errors.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, webpack
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.