Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Compiler&Bundler improvement #98

Merged
merged 83 commits into from
Jan 31, 2021
Merged

Compiler&Bundler improvement #98

merged 83 commits into from
Jan 31, 2021

Conversation

ije
Copy link
Member

@ije ije commented Jan 22, 2021

  • server: support custom server
  • plugin: rewrite plugin system, add ServerPlugin type to enhance server runtime
  • compiler: add source map in dev mode
  • bundler: bundle styles
  • bundler: bundle dynamic dependencies
  • bundler: tree-shake useDeno hook callback code in production mode
  • framework/core: improve page async deps loading
  • framework/react: add revalidate option for useDeno hook
  • breaking: remove builtin less loader (should use plugin instead)
  • breaking: remove builtin markdown pages
  • breaking: remove SEO and Viewport components

@shadowtime2000
Copy link
Member

shadowtime2000 commented Jan 22, 2021

How do you plan on bundling styles? writing them to a .css file?

@ije
Copy link
Member Author

ije commented Jan 22, 2021

@shadowtime2000 will bundle css in js to reduce connections

@shadowtime2000 shadowtime2000 linked an issue Jan 23, 2021 that may be closed by this pull request
Copy link
Member

@shadowtime2000 shadowtime2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deno 1.7.1 has been released I think you can remove the compat fixer now or else it will break. You could also alternatively have it replace with a regex that makes sure there isn't a var before that statement making it compatable with both versions.

@ije ije marked this pull request as ready for review January 31, 2021 16:32
@ije ije merged commit 600a2ac into master Jan 31, 2021
@ije ije deleted the bundler-improvement branch January 31, 2021 16:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deno 1.7.0 error
2 participants