You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Hello! I have a webpack config in typescript (webpack.config.ts) and I get This expression is not constructable error when I use import statement (instead of require)
importExtReloaderfrom'webpack-ext-reloader'import{Configuration}from'webpack'constconfig: Configuration={//...plugins: [newExtReloader(),// ERROR: This expression is not constructable.// Type 'typeof import("/home/brose514/Projects/dmtri310/webextension-vue-ts-template/node_modules/webpack-ext-reloader/typings/webpack-ext-reloader")' has no construct signatures.ts(2351)}
Type:
Environment:
I'm going to open a PR:
Description:
Hello! I have a webpack config in typescript (webpack.config.ts) and I get
This expression is not constructable
error when I use import statement (instead ofrequire
)tsconfig.json:
webpack.config.ts
The text was updated successfully, but these errors were encountered: