Skip to content

[Rollup help needed] Add new@blitzjs/framework pkg with separate client & server bundles #928

@flybayer

Description

@flybayer

What do you want and why?

Currently we have framework code scattered around various packages, mostly @blitzjs/core and @blitzjs/server. We want to consolidate this code into @blitzjs/framework and then remove @blitzjs/core.

We are currently using tsdx for these packages, but I don't think we can use it for framework. Because in addition to isomorphic code, framework will have server only code that should be bundled separately from the client code to ensure server code never ends up in a client bundle.

We also want deep imports so we can do something like this:

import something from '@blitzjs/framework/client'
import something from '@blitzjs/framework/server'

I'd love to have this sooner rather than later :)

Additional context: #798

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions