Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.

Commit f6e20ff

Browse files
authored
fix(index): do not complain about wrong external typings
1 parent 0d18309 commit f6e20ff

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
@@ -1,6 +1,6 @@
11
import {WebpackConfigWithMetadata, get} from '@easy-webpack/core'
22
import * as path from 'path'
3-
import {TsConfigPathsPlugin, CheckerPlugin} from 'awesome-typescript-loader'
3+
const { TsConfigPathsPlugin, CheckerPlugin } = require('awesome-typescript-loader') // does not complain about typings
44

55
/**
66
* Typescript loader support for .ts
@@ -28,4 +28,4 @@ export = function typescript({options = undefined, exclude = null} = {}) {
2828
].concat(get(this, 'plugins', []))
2929
}
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)