Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Bundlers and binary as static assets #119

Closed
divyenduz opened this issue Jul 9, 2019 · 1 comment
Closed

Bundlers and binary as static assets #119

divyenduz opened this issue Jul 9, 2019 · 1 comment
Assignees
Labels
kind/docs A documentation change is required.
Milestone

Comments

@divyenduz
Copy link

Binary is like a static asset for Photon. When bundling Photon with most of the bundlers, they copy over the code but do not copy over the binaries. Most bundlers have ways to copy over assets, we might need to create awareness around binary location and these measures.

Webpack copy plugin: https://github.com/webpack-contrib/copy-webpack-plugin#copy-webpack-plugin

Parcel copy plugin: https://www.npmjs.com/package/parcel-plugin-static-files-copy

@divyenduz divyenduz added kind/question Developer asked a question. No code changes required. team/product labels Jul 9, 2019
@divyenduz divyenduz added kind/docs A documentation change is required. process/candidate Candidate for next Milestone. and removed kind/question Developer asked a question. No code changes required. labels Jan 9, 2020
@janpio janpio added this to the Preview 21 milestone Jan 17, 2020
@janpio janpio removed the process/candidate Candidate for next Milestone. label Jan 21, 2020
@janpio janpio modified the milestones: Preview 21, Preview 22 Jan 31, 2020
@divyenduz divyenduz assigned divyenduz and unassigned schickling and steebchen Feb 13, 2020
@nikolasburk
Copy link
Member

nikolasburk commented Feb 17, 2020

I added lightweight docs that mentions the copy-plugins for bundlers via:
prisma/prisma#1569

I think eventually the docs should be more exhaustive and provide an example for using these plugins, but that has lower prio right now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/docs A documentation change is required.
Projects
None yet
Development

No branches or pull requests

6 participants