mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
19 lines
378 B
TypeScript
19 lines
378 B
TypeScript
const path = require('path');
|
|
|
|
export const projectRoot = (relativePath) => {
|
|
return path.resolve(__dirname, '..', relativePath);
|
|
};
|
|
|
|
export const globalCSSImports = () => {
|
|
return [
|
|
projectRoot(path.join('src', 'styles', '_variables.scss')),
|
|
projectRoot(path.join('src', 'styles', '_mixins.scss')),
|
|
];
|
|
};
|
|
|
|
|
|
module.exports = {
|
|
projectRoot,
|
|
globalCSSImports
|
|
};
|