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

Flatten skuba bundle #11

Merged
merged 1 commit into from
Jun 7, 2020
Merged

Flatten skuba bundle #11

merged 1 commit into from
Jun 7, 2020

Conversation

72636c
Copy link
Member

@72636c 72636c commented Jun 5, 2020

A prominent pain point I've observed working with seek-module-toolkit is that it compiles to nested directories like /lib/commonjs. This means that the depth of the compiled file differs from the source file under /src, which can make bundling and referencing of non-JS assets more of a hassle than it should be.

I propose that we instead compile to /lib-commonjs, and document this as a potential breaking change when migrating from seek-module-toolkit. skuba itself moves to this model as a guinea pig.

I've taken this opportunity to revise the ignore files to account for proposed directories like /lib-commonjs.

@72636c 72636c requested a review from a team as a code owner June 5, 2020 11:19
@changeset-bot
Copy link

changeset-bot bot commented Jun 5, 2020

🦋 Changeset is good to go

Latest commit: f746389

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@72636c
Copy link
Member Author

72636c commented Jun 5, 2020

Note that this doesn't actually implement the migration path from seek-module-toolkit; that's tracked in #13.

72636c added a commit that referenced this pull request Jun 6, 2020
This builds on the proposal in #11 with a separate command for migration
from `smt build`.
@72636c 72636c linked an issue Jun 6, 2020 that may be closed by this pull request
12 tasks
@72636c 72636c removed a link to an issue Jun 6, 2020
12 tasks
@72636c 72636c mentioned this pull request Jun 6, 2020
72636c added a commit that referenced this pull request Jun 6, 2020
This builds on the proposal in #11 with a separate command for migration
from `smt build`.
@72636c 72636c changed the title Flatten lib bundle Flatten skuba bundle Jun 6, 2020
72636c added a commit that referenced this pull request Jun 6, 2020
This builds on the proposal in #11 with a separate command for migration
from `smt build`.
A prominent pain point I've observed working with seek-module-toolkit is
that it compiles to nested directories like `/lib/commonjs`. This means
that the depth of the compiled file differs from the source file under
`/src`, which can make bundling and referencing of non-JS assets more of
a hassle than it should be.

I propose that we instead compile to `/lib-commonjs`, and document this
as a potential breaking change when migrating from seek-module-toolkit.
skuba itself moves to this model as a guinea pig.

I've taken this opportunity to revise the ignore files to account for
proposed directories like `/lib-commonjs`.
@72636c 72636c merged commit 3f4bb58 into master Jun 7, 2020
@72636c 72636c deleted the flatten-bundle branch June 7, 2020 01:45
@72636c 72636c mentioned this pull request Jun 14, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants