atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
15 lines (14 loc) • 441 B
TypeScript
/**
Method signature is:
```
var inProgress[url] = [done];
var dataWebpackPrefix = "...";
// loadScript function to load a script via script tag
__webpack_require__.l = (url, done, key) => {
```
The variables are:
'done' - callback function
'key' - should be in the form "chunk-" + chunkId
*/
declare const runtimeLoadShim: (pluginKey: string, watchMode: boolean, publicPath: string) => string;
export default runtimeLoadShim;