New "browse" UI

Also, separated out browse, ?meta, and ?module request handlers.

Fixes #82
This commit is contained in:
Michael Jackson
2019-07-24 17:55:13 -07:00
parent ea35b3c4b0
commit 34baab07ab
57 changed files with 2431 additions and 686 deletions

View File

@ -18,9 +18,9 @@ const dev = env === 'development';
const manifest = entryManifest();
const client = ['main', 'autoIndex'].map(entryName => {
const client = ['browse', 'main'].map(entryName => {
return {
external: ['react', 'react-dom', '@emotion/core'],
external: ['@emotion/core', 'react', 'react-dom', 'highlight.js'],
input: `modules/client/${entryName}.js`,
output: {
format: 'iife',