when i import from three-mesh-bvh, there is a syntex error: "export * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js';" this statement is not standard.
The log is as follows:
Module parse failed: Unexpected token (12:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export from './gpu/VertexAttributeTexture.js';
| export from './utils/StaticGeometryGenerator.js';
export * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js';
|
| // backwards compatibility
when i import from three-mesh-bvh, there is a syntex error: "export * as BVHShaderGLSL from './gpu/BVHShaderGLSL.js';" this statement is not standard.
The log is as follows: Module parse failed: Unexpected token (12:9) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | export from './gpu/VertexAttributeTexture.js'; | export from './utils/StaticGeometryGenerator.js';