joeeames / WebpackFundamentalsCourse

272 stars 122 forks source link

Resolve blank extensions has new syntax #15

Open sheadscott opened 7 years ago

sheadscott commented 7 years ago

The new syntax is:

resolve: {
    extensions: ["*", ".js", ".es6"]
}

I was getting the following error until I added the asterisk: configuration.resolve.extensions[0] should not be empty.