Skip to content

Commit

Permalink
refactor(getTranspilationEmit): pass raw path to transpileModule so t…
Browse files Browse the repository at this point in the history
…hat customTransformers could access the raw path
  • Loading branch information
Brooooooklyn committed Sep 10, 2018
1 parent 078fab7 commit 092e560
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,11 @@ function getEmit(
* Transpile file
*/
function getTranspilationEmit(
filePath: string,
fileName: string,
contents: string,
instance: TSInstance,
loader: Webpack
) {
const fileName = path.basename(filePath);

const {
outputText,
sourceMapText,
Expand Down

0 comments on commit 092e560

Please sign in to comment.