mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fix issue with sass-loader options
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
import { buildRoot, globalCSSImports, projectRoot, theme, themedTest, themedUse, themePath } from './helpers';
|
import { buildRoot, globalCSSImports, projectRoot, themedTest, themedUse, themePath } from './helpers';
|
||||||
|
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const fs = require('fs');
|
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const ScriptExtPlugin = require('script-ext-html-webpack-plugin');
|
const ScriptExtPlugin = require('script-ext-html-webpack-plugin');
|
||||||
|
|
||||||
@@ -65,7 +64,9 @@ export const commonExports = {
|
|||||||
loader: 'sass-loader',
|
loader: 'sass-loader',
|
||||||
options: {
|
options: {
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
includePaths: [projectRoot('./'), path.join(themePath, 'styles')]
|
sassOptions: {
|
||||||
|
includePaths: [projectRoot('./'), path.join(themePath, 'styles')]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -90,7 +91,9 @@ export const commonExports = {
|
|||||||
loader: 'sass-loader',
|
loader: 'sass-loader',
|
||||||
options: {
|
options: {
|
||||||
sourceMap: true,
|
sourceMap: true,
|
||||||
includePaths: [projectRoot('./'), path.join(themePath, 'styles')]
|
sassOptions: {
|
||||||
|
includePaths: [projectRoot('./'), path.join(themePath, 'styles')]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user