UNPKG

@discoveryjs/cli

Version:

CLI tools to serve & build projects based on Discovery.js

17 lines (15 loc) 435 B
/* eslint-env browser */ import setup from 'discovery-cli:setup'; import encodings from 'discovery-cli:encodings'; import { colorSchemeOptions, load, loadStyle } from './common.js'; load( import('./index.js').then(module => module.default), [loadStyle('index.css')], setup, { styles: [loadStyle('index-loader.css')], embed: setup.embed, ...colorSchemeOptions(setup), encodings } );