docs: `data` -> `prependData` [ci skip]

parent e8be394c
......@@ -75,7 +75,7 @@ Note that `sass-loader` processes the non-indent-based `scss` syntax by default.
### Sharing Global Variables
`sass-loader` also supports a `data` option which allows you to share common variables among all processed files without having to explicit import them:
`sass-loader` also supports a `prependData` option which allows you to share common variables among all processed files without having to explicit import them:
``` js
// webpack.config.js -> module.rules
......
......@@ -75,7 +75,7 @@ module.exports = {
### Передача глобальных переменных
`sass-loader` также поддерживает опцию `data`, которая позволяет вам передавать общие переменные во все обрабатываемые файлы без необходимости везде их явно импортировать:
`sass-loader` также поддерживает опцию `prependData`, которая позволяет вам передавать общие переменные во все обрабатываемые файлы без необходимости везде их явно импортировать:
``` js
// webpack.config.js -> module.rules
......
......@@ -75,7 +75,7 @@ module.exports = {
### 共享全局变量
`sass-loader` 也支持一个 `data` 选项,这个选项允许你在所有被处理的文件之间共享常见的变量,而不需要显式地导入它们:
`sass-loader` 也支持一个 `prependData` 选项,这个选项允许你在所有被处理的文件之间共享常见的变量,而不需要显式地导入它们:
``` js
// webpack.config.js -> module.rules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment