-
Notifications
You must be signed in to change notification settings - Fork 7
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
Dynamically generate manifest.json #33
base: master
Are you sure you want to change the base?
Conversation
27b9b8e
to
9e63734
Compare
Manually pulled this into |
Configures `copy-webpack-plugin` to transform `manifest.json` on copy. To parse, update and generate `content_security_policy` uses `csp-generator`. If mode is `staging` or `development` updates `content_security_policy` entries of `manifest.json` for `vue-remote-devtools`.
Primarily this makes it possible to easily redefine server that was hardcoded in `Vue-IFrame.ts` and `manifest.json`. As a side effect it is now possible to define `content_security_policy` based on mode. Production builds no longer include URL to staging server.
Originally I have used So I went with my primary goal to update It seems to be working well now so I have removed WIP prefix from the pull request. |
Only now I have noticed your comment. What would you like to do with this pull request - drop it in favor of |
I think it's a sensible addition. I Edit: just seeing more additions, will look into it tomorrow and pull it into |
Make it possible to create it based on mode and locally define server.