You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-47
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ module.exports = {
118
118
|[`exec`](#exec)|`{Boolean}`|`undefined`| Enable PostCSS Parser support in `CSS-in-JS`|
119
119
|[`config`](#config)|`{String\|Object\|Boolean}`|`undefined`| Set `postcss.config.js` config path && `ctx`|
120
120
|[`postcssOptions`](#postcssOptions)|`{Object}`|`defaults values for Postcss.process`| Set Postcss.process options and postcss plugins |
121
-
|[`sourceMap`](#sourcemap)|`{String\|Boolean}`|`compiler.devtool`| Enables/Disables generation of source maps |
121
+
|[`sourceMap`](#sourcemap)|`{Boolean}`|`compiler.devtool`| Enables/Disables generation of source maps |
122
122
123
123
### `Exec`
124
124
@@ -649,70 +649,31 @@ module.exports = {
649
649
650
650
### `SourceMap`
651
651
652
-
Type: `Boolean|String`
653
-
Default: `compiler.devtool`
654
-
655
-
By default generation of source maps depends on the devtool option.
656
-
All values enable source map generation except eval and false value.
657
-
In most cases this option should be discouraged.
658
-
If need `postcss-loader` to generate an inline map, use the `inline` value.
659
-
`postcss-loader` will use the previous source map given by other loaders and update it accordingly, if no previous loader is applied before `postcss-loader`, the loader will generate a source map for you.
You can set the `sourceMap: 'inline'` option to inline the source map
685
-
within the CSS directly as an annotation comment.
655
+
By default generation of source maps depends on the [`devtool`](https://webpack.js.org/configuration/devtool/) option. All values enable source map generation except `eval` and `false` value.
0 commit comments