webpack.config.tm-renderer.js 310 B

123456789
  1. const common = require('./webpack.config.common.js');
  2. const createNodeEntryPoint = common.createNodeEntryPoint;
  3. const rendererEntryPoint = createNodeEntryPoint('index', 'commonjs/TmImageRenderer', 'tmRenderer');
  4. rendererEntryPoint.externals.gl = 'require("gl")';
  5. module.exports = [
  6. rendererEntryPoint
  7. ];