Skip to content

Commit d016821

Browse files
author
DAVID♥
committed
2 parents f58d839 + f883a73 commit d016821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import CleanCSS from 'clean-css';
2-
import loaderUtils from 'loader-utils';
2+
import { getOptions } from 'loader-utils';
33

44
export default function cleanCssLoader(css, map) {
55
const that = this;
66
const options = that.options ? that.options.module : false;
7-
const query = loaderUtils.getOptions(that);
7+
const query = getOptions(that);
88
const cleanCssOptions = query || (options ? options.cleancss || options['clean-css'] || options.CleanCSS : false) || {};
99
const callback = that.async();
1010

0 commit comments

Comments
 (0)