Skip to content

move to using webdev to develop #1069

New issue

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

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

Already on GitHub? # to your account

Closed
devoncarew opened this issue May 14, 2019 · 6 comments
Closed

move to using webdev to develop #1069

devoncarew opened this issue May 14, 2019 · 6 comments
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures type-infra A repository infrastructure change or enhancement
Milestone

Comments

@devoncarew
Copy link
Member

We currently use grind serve-custom-backend to build and serve the app when developing; we should probably move to using webdev serve; it has a faster iteration cycle.

@devoncarew devoncarew added the type-infra A repository infrastructure change or enhancement label May 14, 2019
@domesticmouse domesticmouse self-assigned this May 16, 2019
@domesticmouse
Copy link
Member

I'm wondering how to integrate the custom build steps that grind runs into webdev serve. Any hints?

@devoncarew
Copy link
Member Author

I haven't looked into it, but perhaps:

  • is it possible to drive custom build steps from build_runner?
  • do we still need the custom steps (I think it's largely used to concatenate files for the polymer UI)?

@domesticmouse
Copy link
Member

I've done an initial investigation, and it looks like this is blocked on a bunch of other work.

I tried removing vulcanize as a first step towards being able to wrap up tasks in build_runner compliant format, but we need vulcanize to remove http imports from our source, which is being removed from Chrome in M75.

I tried doing a grind build followed by webdev, but that winds up throwing errors in webdev's injected client.js.

In short, getting this codebase clean enough to work with webdev is going to require a lot of yak shaving.

@domesticmouse domesticmouse removed their assignment May 16, 2019
@RedBrogdon RedBrogdon added this to the Backlog milestone Jun 4, 2019
@RedBrogdon
Copy link
Contributor

By "http imports," do you mean HTML imports? Are these the ones for Polymer we're talking about, in other words?

@domesticmouse
Copy link
Member

Yup

@RedBrogdon RedBrogdon added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Jun 26, 2019
johnpryan pushed a commit to johnpryan/dart-pad that referenced this issue Jun 27, 2023
@parlough
Copy link
Member

Since with #2808 we're using Flutter to build the UI, we've been using its tooling appropriately and are no longer using build_runner or webdev.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P1 A high priority bug; for example, a single project is unusable or has many test failures type-infra A repository infrastructure change or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants