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
I'm trying to upgrade to webpack 5, but I'm now getting a type error when
trying to use the TsconfigPathsPlugin.
resolve: {extensions: [...],// resolve aliases from tsconfig.server.jsonplugins: [newTsconfigPathsPlugin({// type error hereconfigFile: './tsconfig.server.json',}),],alias: {...},},
I get the following error:
Type 'TsconfigPathsPlugin' is not assignable to type '"..." | ResolvePluginInstance'.
Type 'TsconfigPathsPlugin' is not assignable to type 'ResolvePluginInstance'.
Types of property 'apply' are incompatible.
I have the feeling that this isn't a widespread issue as I can't see any mention
of it in other places, but I would have thought that I'd be able to find at least someone
that has come across the same problem.
The text was updated successfully, but these errors were encountered:
I'm trying to upgrade to webpack 5, but I'm now getting a type error when
trying to use the TsconfigPathsPlugin.
I get the following error:
I have the feeling that this isn't a widespread issue as I can't see any mention
of it in other places, but I would have thought that I'd be able to find at least someone
that has come across the same problem.
The text was updated successfully, but these errors were encountered: