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

Bundle manifest tools #61

Closed
matthewp opened this Issue Aug 14, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@matthewp
Copy link
Member

matthewp commented Aug 14, 2017

Create a set of tools for working with bundle manifest files. The original specifications are at: https://gist.github.com/matthewp/e76089e0f290a919eea6de142a3f8c9c

Going to call this steal-bundle-manifest with an API like:

var BundleManifest = require("steal-bundle-manifest");

var manifest = new BundleManifest({
  root: "/public/assets" // Optional, defaults to /
});

manifest.for("orders/").toHTML(); // -> <script src="..."></script>
manifest.for("orders/").push(req, res);

@matthewp matthewp added the Epic label Aug 14, 2017

@matthewp

This comment has been minimized.

Copy link
Member Author

matthewp commented Aug 14, 2017

Create a "guide" of sorts that specifies how to use these files, as well as dynamically during the build.

@matthewp matthewp closed this Sep 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.