Skip to content

Commit 599fc1f

Browse files
committed
fix: preprocessor options
1 parent 21ead14 commit 599fc1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Plugin/PluginService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ class PluginService {
4848
// add reference for the preprocessor option into the loader options
4949
if (pluginOptions.preprocessor != null && loaderOptions.preprocessor == null) {
5050
loaderOptions.preprocessor = pluginOptions.preprocessor;
51+
}
5152

52-
if (pluginOptions.preprocessorOptions && !loaderOptions.preprocessorOptions) {
53-
loaderOptions.preprocessorOptions = pluginOptions.preprocessorOptions;
54-
}
53+
if (pluginOptions.preprocessorOptions && !loaderOptions.preprocessorOptions) {
54+
loaderOptions.preprocessorOptions = pluginOptions.preprocessorOptions;
5555
}
5656

5757
context = {

0 commit comments

Comments
 (0)