Guy Bedford
bddb02286f
feat: webpack inlining with configuration for v4 / v5 ( #20598 )
2021-01-13 20:59:08 -05:00
Guy Bedford
b7272995b5
feat: upgrade to ncc@0.26.1 ( #20627 )
...
This upgrades to the version of ncc with subbundling support.
2020-12-31 00:50:45 +00:00
Joe Haddad
61e7dea918
deps: upgrade various deps (mainly babel) ( #20586 )
...
Fixes #20585
Closes #20406 as it duplicates Babel dependencies
Closes #18926 as it's outdated
2020-12-29 20:10:08 +00:00
Bogdan Chadkin
36cab257ce
Upgrade webpack-bundle-analyzer ( #20232 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-12-18 09:47:26 +01:00
Joe Haddad
1692e931d9
Upgrade Terser ( #20063 )
...
Fixes #18056
2020-12-10 16:49:23 +00:00
Guy Bedford
8221c180a5
ncc 0.25.0 upgrade and fixes ( #18873 )
...
This upgrades to ncc@0.25.0 and fixes the previous bugs including:
* ncc not referenced correctly in build
* Babel type errors
* node-fetch, etag, chalk and raw-body dependencies not building with ncc - these have been "un-ncc'd" for now. As they are relatively small dependencies, this doesn't seem too much of an issue and we can follow up in the tracking ncc issue at https://github.com/vercel/ncc/issues/612 .
* `yarn dev` issues
Took a lot of bisecting, but the overall diff isn't too bad here in the end.
2020-11-06 02:33:14 +00:00
Guy Bedford
7b66da83e3
Update ncc ( #18823 )
...
This updates to the latest ncc@0.24.1 release.
Initially I thought chalk needed to be removed to make this work, but it turns out it was a caching issue.
I've also added a cache clear to the rebuild command to avoid these issues hopefully in future.
2020-11-05 03:30:37 +00:00
Tim Neutkens
ea29bb3e4c
Fix precompiled code ( #18093 )
...
Solves the build failure we're seeing on PRs
2020-10-21 18:43:39 +00:00
JJ Kasper
ad22e77309
Expose dotenv loading under separate package ( #17152 )
...
* Expose dotenv loading under separate package
* Update pre-compiled
* Rename package to @next/env
* Update lint ignores
* Update package.json
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-09-25 13:14:28 -05:00
Sergey Rubanov
feeb941dc6
Update to Terser 5 ( #16194 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-08-16 19:32:37 +02:00
Sebastian Benz
5636748708
upgrade @ampproject/toolbox-optimizer to 2.5.14 ( #15463 )
2020-07-27 18:12:33 +00:00
Tim Neutkens
14babe5b3f
Make type checking compatible with webpack 5 ( #15158 )
...
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-07-15 13:56:27 -04:00
JJ Kasper
3094016cc3
Downgrade terser to fix invalid minifying ( #12178 )
2020-04-26 15:16:43 -04:00
Joe Haddad
fe09c10383
Upgrade terser-webpack-plugin
for Webpack 5 ( #11922 )
...
* Upgrade `terser-webpack-plugin` for Webpack 5
* Upgrade again
* cacache cannot be bundled
* cacache cannot be bundled
* fix file
* remove cacache dep
* Update LICENSE
2020-04-15 14:20:25 -04:00
JJ Kasper
84b89c8b24
Pre-ncc compiled packages to prevent re-nccing unnecessarily ( #11569 )
...
* Pre-ncc compiled packages to prevent re-nccing unnecessarily
* Add compiled files
* Re-run pre-ncc step
* Add check to workflow to ensure pre-compiled doesnt need updating
* Update check-pre-compiled script
* Add handling for lower case license while nccing
* bump
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 09:42:16 -04:00