Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project priorities #10

Open
okwolf opened this issue Mar 14, 2019 · 0 comments
Open

project priorities #10

okwolf opened this issue Mar 14, 2019 · 0 comments
Assignees

Comments

@okwolf
Copy link
Owner

okwolf commented Mar 14, 2019

must have

  • serve static files relative to a local folder
  • ES modules with Node resolution for relative imports and installed node_modules (works offline)
  • decent performance (loads in under 1s for medium-sized app)
  • fallback to index.html for routers using the history.pushState API
  • launch a browser and navigate to the entry point
  • watch files for changes and refresh the page for open browsers
  • control the port listening for HTTP requests

nice to have

  • zero runtime dependencies
  • no compile time delays
  • robust error handling with useful output
  • informative output with pretty colors
  • not installed modules are imported from unpkg.com
  • option to control which browser to open or disable
  • hot module replacement without reloading the page
  • automated defaults that work for common projects (src, public, etc)
  • replace/inject variables such as NODE_ENV

non-goals

  • production
  • bundling
  • security / HTTPS
  • compression
  • older browsers (IE, polyfills, transpiling)
  • proxy for APIs hosted under the same context
  • URL rewriting/routing
  • JSX
  • Express-style middleware
  • non-HTTP protocols
@okwolf okwolf self-assigned this Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant