mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-17 05:29:41 +03:00
11 lines
407 B
JavaScript
11 lines
407 B
JavaScript
const path = require('path');
|
|
const deploymentConfig = require('./jest-browser.rollup.config.js');
|
|
|
|
module.exports = {
|
|
process: (src, filePath) => {
|
|
const deploymentPath = path.relative(deploymentConfig.root, filePath);
|
|
const split = deploymentPath.split(path.sep);
|
|
return `module.exports = ${JSON.stringify(`http://localhost:${deploymentConfig.port}/${path.posix.join(...split)}`)}`;
|
|
},
|
|
};
|