webpack-extension-reloader icon indicating copy to clipboard operation
webpack-extension-reloader copied to clipboard

Cannot work with typescript config file webpack.ts

Open StarkShang opened this issue 3 years ago • 0 comments

Type:

  • [X] bug
  • [ ] feature
  • [ ] enhancement
  • [ ] question

Environment:

  • OS: Windows
  • Browser: None
  • Library Version: 1.1.4

I'm going to open a PR:

  • [ ] yes
  • [X] no

Description: I am using typescript configuration file webpack.ts. When I import this loader and run webpack command, I get these error messages

error TS2351: This expression is not constructable. Type 'typeof IExtensionReloaderInstance' has no construct signatures. new ExtensionReloader({

How can I do with this?

StarkShang avatar Apr 10 '21 08:04 StarkShang