diff --git a/test.cjs b/test.cjs index 5ac7c8415..5ba7ab503 100644 --- a/test.cjs +++ b/test.cjs @@ -1,2 +1,11 @@ -console.log(require.resolve('THREE/examples/jsm/renderers/webgpu/WebGPURenderer.js')) +const fs = require('fs') + +const packageJson = JSON.parse(fs.readFileSync('./node_modules/THREE/package.json', 'utf8')) +console.log(packageJson.version) +const filesRoot = fs.readdirSync('./node_modules/THREE') +console.log(filesRoot) +const files2 = fs.readdirSync('./node_modules/THREE/examples/jsm/') +console.log(files2) +const files = fs.readdirSync('./node_modules/THREE/examples/jsm/renderers/webgpu') +console.log(files) throw new Error('stop')