webpack.config.js 538 B

12345678910111213141516
  1. const { createApp, createExample, createBrowserTest } = require('./webpack.config.common.js');
  2. const examples = ['proteopedia-wrapper', 'basic-wrapper', 'lighting', 'alpha-orbitals'];
  3. const tests = [
  4. 'font-atlas',
  5. 'marching-cubes',
  6. 'render-lines', 'render-mesh', 'render-shape', 'render-spheres', 'render-structure', 'render-text',
  7. 'parse-xtc'
  8. ];
  9. module.exports = [
  10. createApp('viewer', 'molstar'),
  11. createApp('docking-viewer', 'molstar'),
  12. ...examples.map(createExample),
  13. ...tests.map(createBrowserTest)
  14. ];