Skip to content

Commit 5fab977

Browse files
committed
docs: data -> prependData [ci skip]
1 parent e8be394 commit 5fab977

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: docs/guide/pre-processors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Note that `sass-loader` processes the non-indent-based `scss` syntax by default.
7575

7676
### Sharing Global Variables
7777

78-
`sass-loader` also supports a `data` option which allows you to share common variables among all processed files without having to explicit import them:
78+
`sass-loader` also supports a `prependData` option which allows you to share common variables among all processed files without having to explicit import them:
7979

8080
``` js
8181
// webpack.config.js -> module.rules

Diff for: docs/ru/guide/pre-processors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575

7676
### Передача глобальных переменных
7777

78-
`sass-loader` также поддерживает опцию `data`, которая позволяет вам передавать общие переменные во все обрабатываемые файлы без необходимости везде их явно импортировать:
78+
`sass-loader` также поддерживает опцию `prependData`, которая позволяет вам передавать общие переменные во все обрабатываемые файлы без необходимости везде их явно импортировать:
7979

8080
``` js
8181
// webpack.config.js -> module.rules

Diff for: docs/zh/guide/pre-processors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575

7676
### 共享全局变量
7777

78-
`sass-loader` 也支持一个 `data` 选项,这个选项允许你在所有被处理的文件之间共享常见的变量,而不需要显式地导入它们:
78+
`sass-loader` 也支持一个 `prependData` 选项,这个选项允许你在所有被处理的文件之间共享常见的变量,而不需要显式地导入它们:
7979

8080
``` js
8181
// webpack.config.js -> module.rules

0 commit comments

Comments
 (0)