Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Jan 24, 2021

Move GLSLang to libs:

'https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel/glslang.js' -> ../../libs/glslang.js

@Mugen87 Mugen87 merged commit 583ea73 into mrdoob:dev Jan 25, 2021
@Mugen87 Mugen87 added this to the r125 milestone Jan 25, 2021
@mrdoob
Copy link
Owner

mrdoob commented Jan 25, 2021

Thanks!


const glslang = await import( 'https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel/glslang.js' );
// https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel/glslang.js
const glslang = await import( '../../libs/glslang.js' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can now become a static import?

// https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel/glslang.js
import glslang from '../../libs/glslang.js' 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants