123456789101112131415161718192021222324252627282930 |
- "use strict";
- const upath = require('upath');
- module.exports = (compilation, swDest) => {
-
- if (upath.resolve(swDest) === upath.normalize(swDest)) {
- return upath.relative(compilation.options.output.path, swDest);
- }
- return swDest;
- };
|