const common = require('./webpack.config.common.js'); const createNodeEntryPoint = common.createNodeEntryPoint; const rendererEntryPoint = createNodeEntryPoint('index', 'commonjs/TmImageRenderer', 'tmRenderer'); rendererEntryPoint.externals.gl = 'require("gl")'; module.exports = [ rendererEntryPoint ];