wgsl-preprocessor
wgsl-preprocessor copied to clipboard
Need to add main field in package.json
Using vite+ts for development, it seems that the module entry file cannot be found correctly. It is necessary to add "main" : "./wgsl preprocessor. js" in package. json,