Astrak

Results 5 comments of Astrak

@pailhead jest works with typescript through `ts-jest`. That module needs to be passed in the jest config, e.g. in the `package.json`: ``` { "jest": { "preset": "ts-jest", "testEnvironment": "node", "testRegex":...

I just had a look at BabylonJS, where the glsl files are on their own and imported as is. But their setup looks a bit more tricky and I don't...

Sketchfab's OSGjs does it this way https://github.com/cedricpinson/osgjs/blob/master/sources/osgShader/shaderLib.js code: ```js import shader from 'osgShader/node/shader.glsl'; ... shaderSource: shader ``` webpack.config.js: ```js module: { loaders: [{ test: /\.(frag|vert|glsl)$/, loader: 'raw-loader' }] } ```

Yes I wanted to make a case for yarn for another reason, but it's a better tool indeed

Lena works with yarn workspaces also, so we can use both together