Skip to content

Commit 6b81498

Browse files
Renamed an import to match its export name
1 parent 8394d9e commit 6b81498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import convert from "convert-source-map";
33
import { createInstrumenter, RawSourceMap } from "istanbul-lib-instrument";
44
import loaderUtils from "loader-utils";
55
import mergeSourceMap from "merge-source-map";
6-
import nodePath from "path";
6+
import path from "path";
77
import validateOptions from "schema-utils";
88
import { loader } from "webpack";
99
import optionsSchema from "./options-schema.json";
@@ -23,7 +23,7 @@ export default function(this: loader.LoaderContext, source: string, sourceMap?:
2323
if (!sourceMap) {
2424
// Check for an inline source map
2525
const inlineSourceMap = convert.fromSource(source)
26-
|| convert.fromMapFileSource(source, nodePath.dirname(this.resourcePath));
26+
|| convert.fromMapFileSource(source, path.dirname(this.resourcePath));
2727

2828
if (inlineSourceMap) {
2929
// Use the inline source map

0 commit comments

Comments
 (0)