Joe Haddad
e5636dcdb0
Inject the build ID after webpack runs ( #6618 )
...
* Inject the build ID after webpack runs
* add webpack sources types
* use webpack plugin instead
* reset file
* Skip source maps if none were provided
Co-Authored-By: Timer <timer150@gmail.com>
2019-03-12 16:39:44 -04:00
JJ Kasper
c3b1f31ed5
Fix /index/index.js route not emitting the right route in production ( #6516 )
...
Also added integration test in production for this
Fixes : #6285
2019-03-03 19:36:32 +01:00
JJ Kasper
5034e4e1de
Updated entries to not output _app and _document in serverless ( #6512 )
...
* Updated entries to not output _app and _document in serverless
* Add test
2019-03-02 13:53:13 -06:00
Connor Davis
5514949df0
Remove glob package ( #6415 )
...
We don't use a lot of the features of `glob`, so let's remove it in favor of a leaner approach using regex.
It's failing on windows and I have no idea why and don't own a windows machine 🤦🏼♂️
(Ignore some of the commits in here, I forgot to create the new branch before I started working)
2019-02-24 22:08:35 +01:00
Connor Davis
61de215e04
Move webpack config to TypeScript ( #6348 )
2019-02-20 13:24:02 -06:00
Tim Neutkens
9ffd23eeef
Replace pages-plugin with loader ( #5994 )
...
* Remove unused argument
* Replace pages-plugin with loader
* Add loader-utils types
* Remove logs
* Bring back previous deposal behavior
* Remove console.log
* Remove webpack/utils as it’s no longer in use
* Remove hot-self-accept-loader
* Error Recovery tests
* Make hotSelfAccept a noop default loader
* Fix windows deleted/added
* Remove logging
* Remove unused variables
* Remove log
* Simplify entrypoint generation
* Don’t return the function
* Fix _app test
* Remove code that’s always true
* Move aliases to constants
* Use alias
* Join pages alias in reduce
* Default pages differently
* Loop over pages instead of manually defining
* Move entry generation into common function
* Update packages/next/build/webpack/loaders/next-client-pages-loader.ts
Co-Authored-By: timneutkens <tim@timneutkens.nl>
* Update packages/next/build/webpack/loaders/next-client-pages-loader.ts
2019-01-08 23:10:32 +01:00