docs: fix styles as `importPath` was replaced with `loadPaths`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Родитель
5c03bd27c5
Коммит
62a9255599
|
@ -1,3 +1,5 @@
|
|||
@use 'sass:math';
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
|
|
@ -27,14 +27,14 @@ webpackConfig.devtool = isDev ? false : 'source-map'
|
|||
const sassLoader = {
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
additionalData: `@use 'sass:math'; $scope_version:${SCOPE_VERSION}; @import 'variables'; @import 'material-icons';`,
|
||||
additionalData: `@use 'sass:math'; @use 'variables.scss' as *; @use 'material-icons.css' as *; $scope_version:${SCOPE_VERSION};`,
|
||||
/**
|
||||
* ! needed for resolve-url-loader
|
||||
*/
|
||||
sourceMap: true,
|
||||
sassOptions: {
|
||||
sourceMapContents: false,
|
||||
includePaths: [
|
||||
loadPaths: [
|
||||
path.resolve(__dirname, './src/assets'),
|
||||
],
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче