@serwist/webpack-plugin
Version:
A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.
13 lines • 522 B
TypeScript
/**
* Resolves a url in the way that webpack would (with string concatenation)
*
* Use publicPath + filePath instead of url.resolve(publicPath, filePath) see:
* https://webpack.js.org/configuration/output/#output-publicpath
*
* @param publicPath The publicPath value from webpack's compilation.
* @param paths File paths to join
* @returns Joined file path
* @private
*/
export declare const resolveWebpackURL: (publicPath: string, ...paths: string[]) => string;
//# sourceMappingURL=resolve-webpack-url.d.ts.map