- Create a webpack config
- html-webpack-plugin: Creates an HTML file that loads all your bundles
- copy-webpack-plugin: Copy files and directories into the distribution directory
// How to automatically refresh a bearer token in Postman API client requests when it's expired. | |
// This pre-request script (https://learning.postman.com/docs/writing-scripts/pre-request-scripts/) | |
// checks if an access token exists and is not expired, otherwise it will request a new one. It then | |
// saves it with the expiration date, so it can check against that before the next request. | |
// Add this at the collection level to apply to all API requests within that collection. Set your | |
// collection authorization to 'Bearer Token' and the token to '{{access_token}}' and use 'inherit | |
// auth from parent' for the individual request authorization setting. |
{ | |
"kind": "youtube#videoListResponse", | |
"etag": "\"Dn5xIderbhAnUk5TAW0qkFFir0M/PmyFcfudY-pRuyR1eE-yWB5uLE4\"", | |
"pageInfo": { | |
"totalResults": 1, | |
"resultsPerPage": 1 | |
}, | |
"items": [ | |
{ | |
"kind": "youtube#video", |
Verifying that +joostschuur is my openname (Bitcoin username). https://onename.io/joostschuur |
javascript:(function(){document.getElementById('mw-sopaOverlay').style.display="none";document.getElementById('mw-panel').style.display="block";document.getElementById('content').style.display="block";document.getElementById('mw-head').style.display="block";document.getElementById('mw-panel').style.display="block";document.getElementById('mw-head-base').style.display="block";document.getElementById('mw-page-base').style.display="block";})(); |