Closed kevinresol closed 3 years ago
Currently I add var THREE = require('three'); at the top of the generated output to make it work on my bundled setup.
var THREE = require('three');
or in webpack:
plugins: [ new webpack.ProvidePlugin({ THREE: 'three' }) ],
Currently I add
var THREE = require('three');
at the top of the generated output to make it work on my bundled setup.or in webpack: