rsnext/packages/next/build/webpack
Joe Haddad 6b516f6c84
Remove accidental support for invalid JavaScript (#8077)
* Remove accidental support for invalid JavaScript
Next.js inadvertently supported users mixing ES Modules and CommonJS due to a Babel bug that was fixed in v7.
This removes the hack in favor of the new Babel `sourceType` feature.

**This will result in broken code for users who relied on this non-standard conforming behavior.**

* Fix comment

* Toggle feature behind modern flag
2019-08-12 00:10:12 -04:00
..
loaders Remove accidental support for invalid JavaScript (#8077) 2019-08-12 00:10:12 -04:00
plugins Followup optimizations for new experimentalPrerender (#8287) 2019-08-11 21:56:57 -04:00