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

Flutter Web SDK should include a manifest of "external" assets #74934

Open
dnfield opened this issue Jan 28, 2021 · 4 comments
Open

Flutter Web SDK should include a manifest of "external" assets #74934

dnfield opened this issue Jan 28, 2021 · 4 comments
Labels
a: assets Packaging, accessing, or using assets c: new feature Nothing broken; request for a new capability engine flutter/engine repository. See also e: labels. P3 Issues that are less important to the Flutter project platform-web Web applications specifically team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-web Owned by Web platform team triaged-web Triaged by Web platform team

Comments

@dnfield
Copy link
Contributor

dnfield commented Jan 28, 2021

E.g. CanvasKit, any font assets that are grabbed from CDN, etc.

This would be useful for being able to package up a Flutter Web application into a self-contained bundle, either for serving locally (i.e. DevTools) or in an Electron app (i.e. a plugin for an existing Electron app), or just for someone who wants to avoid using CDNs.

@dnfield dnfield added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. engine flutter/engine repository. See also e: labels. platform-web Web applications specifically P3 Issues that are less important to the Flutter project c: new feature Nothing broken; request for a new capability labels Jan 28, 2021
@pedromassangocode pedromassangocode added a: assets Packaging, accessing, or using assets passed first triage labels Feb 3, 2021
@lyf571321556
Copy link

any update?

@a-andre
Copy link

a-andre commented Nov 23, 2022

flutter/engine#29056 should help with the CanvasKit part

@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-web Owned by Web platform team triaged-web Triaged by Web platform team labels Jul 8, 2023
@littleGnAl
Copy link
Contributor

Any update on this?

@littleGnAl
Copy link
Contributor

In my use case, I'm working on a plugin that supports the web platform, which has the custom implementation of the js, say that my_custom.js, and binding the API of it.
I want to bundle the my_custom.js into the plugin directly, so the user adds the plugin to the dependencies and the plugin works, but does not need additional setup, say that let the user download the my_custom.js somewhere directly or add the <script /> tag themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: assets Packaging, accessing, or using assets c: new feature Nothing broken; request for a new capability engine flutter/engine repository. See also e: labels. P3 Issues that are less important to the Flutter project platform-web Web applications specifically team Infra upgrades, team productivity, code health, technical debt. See also team: labels. team-web Owned by Web platform team triaged-web Triaged by Web platform team
Projects
None yet
Development

No branches or pull requests

6 participants