File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ exports = {
7171 ]
7272 },
7373 resolve: {
74- fullySpecified: true ,
7574 plugins: [new ResolveTypeScriptPlugin ()]
7675 }
7776};
@@ -80,12 +79,12 @@ exports = {
8079You will also need to have [ ts-loader] [ 4 ] (or another TypeScript loader)
8180installed and configured.
8281
83- The ` resolve.fullySpecified ` option configures webpack to require file
84- extensions except when importing external modules by name. This is consistent
85- with node's implementation of ES Modules .
82+ Previous versions of this README recommended setting ` resolve.fullySpecified ` to
83+ ` true ` . This is no longer recommended because it breaks compatibility with
84+ webpack-dev-server and possibly other webpack tooling .
8685
87- If you set ` resolve.fullySpecified ` you should also delete the
88- ` resolve.extensions ` option, if any .
86+ If you use this plugin, you should probably remove ` .ts ` and ` .tsx ` from
87+ ` resolve.extensions ` .
8988
9089## Options
9190
You can’t perform that action at this time.
0 commit comments