mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fixed tests
This commit is contained in:
@@ -2,40 +2,12 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const path = require('path');
|
||||
const {
|
||||
root,
|
||||
join
|
||||
join,
|
||||
globalCSSImports,
|
||||
themeReplaceOptions
|
||||
} = require('./helpers');
|
||||
|
||||
// const theme = '';
|
||||
const theme = 'mantis';
|
||||
|
||||
const globalCSSImports = [
|
||||
path.resolve(__dirname, '..', 'src/styles/_variables.scss'),
|
||||
path.resolve(__dirname, '..', 'src/styles/_mixins.scss'),
|
||||
];
|
||||
const themeReplaceOptions =
|
||||
{
|
||||
multiple: [
|
||||
{
|
||||
search: '$theme$.',
|
||||
replace: theme + (theme.length ? '.' : ''),
|
||||
|
||||
},
|
||||
{
|
||||
search: '$themePath$/',
|
||||
replace: (theme.length ? 'themes/' : ''),
|
||||
|
||||
},
|
||||
{
|
||||
search: '$theme$.',
|
||||
replace: (theme.length ? theme + '.' : ''),
|
||||
|
||||
},
|
||||
{
|
||||
search: '$themePath$/',
|
||||
replace: (theme.length ? 'themes/' : ''),
|
||||
}
|
||||
]
|
||||
};
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
devtool: 'source-map',
|
||||
|
Reference in New Issue
Block a user