Joe Haddad
1199c235b1
Externalize next-server
from Server Builds ( #11819 )
...
* Externalize from Server Builds
* Windows Compatibility for Plugins
* Only check for windows path on windows
* add comments
2020-04-11 12:36:06 +02:00
JJ Kasper
cd1a2a5949
Handle more invalid CSS class characters ( #11809 )
...
* Handle more invalid CSS class characters
* Remove old comment
2020-04-10 10:37:24 -05:00
JJ Kasper
ab4ba0418c
Replace brackets in CSS classes for dynamic routes ( #11795 )
2020-04-10 12:32:55 +02:00
JJ Kasper
0648c35508
Update auto export opt-out warning and err.sh ( #11801 )
2020-04-10 12:31:19 +02:00
Joe Haddad
2704387d2e
Add New Provider ( #11757 )
2020-04-08 16:20:28 -04:00
JJ Kasper
cad2a75649
Make sure to handle "next" import gracefully ( #11733 )
...
* Make sure to handle "next" import gracefully
* Update test file
2020-04-07 15:13:01 -04:00
Aaron Reisman
8f4e265f76
Fix Utility Types ( #11077 )
2020-04-06 17:59:44 +02:00
Aaron Reisman
7a61fb7fdf
Cleanup Build Output Types ( #11076 )
2020-04-06 17:59:36 +02:00
Aaron Reisman
bddd1ce53e
Update compiler.ts Improve TypeScript typings ( #11074 )
...
Improve TypeScript typings
2020-04-06 17:58:35 +02:00
matamatanot
6821d1f8f7
import from compiled ( #11684 )
...
Co-authored-by: “kosuke_matano” <kosuke_matano@cyberagent.co.jp>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-06 10:24:37 -04:00
JJ Kasper
1cdc607968
Warn when user has pages/_error but no pages/404 ( #11603 )
...
* Warn when user has pages/_error but no pages/404
* Update test
* Update custom-error-no-custom-404.md
* Apply suggestions from code review
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-05 13:19:14 +02:00
JJ Kasper
56118439b7
Update to make sure to respond with 400 for invalid URLs ( #11561 )
...
* Update to make sure to respond with 400 for invalid URLs
* Update response text for 400 API error
2020-04-02 09:24:32 +02:00
JJ Kasper
3f6bd47dfb
Update build output with renamed column ( #11401 )
...
* Update build output with renamed column
* Update build output test
* Update naming of column
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-01 11:39:25 +02:00
JJ Kasper
d61eced9a6
Update to make sure AMP only bundles are always removed in pro… ( #11527 )
2020-04-01 10:24:44 +02:00
Tim Neutkens
b8d075ef0e
Update environment support ( #11524 )
...
* Remove req.env
* Rename NEXT_APP_ to NEXT_PUBLIC_
* Remove key exposing env config
* Update tests
* Update NEXT_APP_ test to NEXT_PUBLIC_
2020-03-31 17:53:50 +02:00
Guy Bedford
755dc40969
postcss loaders
2020-03-30 16:26:25 -04:00
Guy Bedford
a3ec26d30a
ignore-loader
2020-03-30 16:26:25 -04:00
Guy Bedford
8dad5abd66
file-loader
2020-03-30 16:26:25 -04:00
Guy Bedford
c855a3828e
babel-loader, cache-loader
2020-03-30 16:26:25 -04:00
Guy Bedford
84a46dfb8c
thread-loader
2020-03-30 16:26:25 -04:00
Guy Bedford
40f6bdef32
autodll-webpack-plugin
2020-03-30 16:26:25 -04:00
Guy Bedford
35a6710cdb
babel revert
2020-03-30 16:26:25 -04:00
Guy Bedford
c16f60067b
path-to-regexp
2020-03-30 16:26:25 -04:00
Guy Bedford
9c2e43a382
find-up
2020-03-30 16:26:25 -04:00
Guy Bedford
202fcbff7a
terser
2020-03-30 16:26:25 -04:00
Guy Bedford
7194bfc6a6
string-hash, strip-ansi
2020-03-30 16:26:25 -04:00
Guy Bedford
caa5da7c41
source-map, manifest type fix
2020-03-30 16:26:25 -04:00
Guy Bedford
9615bbd83d
recast, babel core sharing
2020-03-30 16:26:25 -04:00
Guy Bedford
26dca225d6
node-fetch, ora
2020-03-30 16:26:25 -04:00
Guy Bedford
4adf4b3300
lodash.curry
2020-03-30 16:26:25 -04:00
Guy Bedford
3b36a3711c
json5
2020-03-30 16:26:25 -04:00
Guy Bedford
a34766ab62
gzip-size
2020-03-30 16:26:25 -04:00
Guy Bedford
6a8455e713
escape-string-regexp
2020-03-30 16:26:25 -04:00
Guy Bedford
a9a704e727
devalue
2020-03-30 16:26:25 -04:00
Guy Bedford
af40b5b2f8
chalk, ci-info
2020-03-30 16:26:25 -04:00
Guy Bedford
90a0cef87e
browserslist
2020-03-30 16:26:25 -04:00
Guy Bedford
5619f990cf
refactor ncc optimization, babel optimization
2020-03-30 16:26:25 -04:00
Tim Neutkens
e7ea27645d
Add support for comments in tsconfig.json
...
Fixes #11390
2020-03-27 11:20:13 +01:00
JJ Kasper
d8155b22ff
Add initial support for new env handling ( #10525 )
...
* Add initial support for new env config file
* Fix serverless processEnv call when no env is provided
* Add missing await for test method
* Update env config to .env.json and add dotenv loading
* ncc dotenv package
* Update type
* Update with new discussed behavior removing .env.json
* Update hot-reloader createEntrypoints
* Make sure .env is loaded before next.config.js
* Add tests for all separate .env files
* Remove comments
* Add override tests
* Add test for overriding env vars based on local environment
* Add support for .env.test
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Use chalk for env loaded message
* Remove constant as it’s not needed
* Update test
* Update errsh, taskr, and CNA template ignores
* Make sure to only consider undefined missing
* Remove old .env ignore
* Update to not populate process.env with loaded env
* Add experimental flag and add loading of global env values
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-26 13:32:41 +01:00
Tim Neutkens
7774101ad1
Skip paths that are routed to a .d.ts file ( #11322 )
2020-03-24 12:25:58 +01:00
Joe Haddad
f19dcf9b6e
Add Numeric Separator Support for TypeScript ( #11308 )
...
* Add Numeric Separator Support for TypeScript
* Check for number in render
2020-03-23 17:41:35 -05:00
Tim Neutkens
7fce52b905
Add support for paths in tsconfig.json and jsconfig.json ( #11293 )
...
* Add support for tsconfig/json `paths` option
* Add tests for paths in tsconfig.json
* Don't apply aliases when paths is empty
* Clean up unused methods and link to TypeScript license
* Add tests for jsconfig
* Put feature under an experimental flag
* Enable to see if tests pass
* Update types
* Add feature under an experimental flag
2020-03-23 10:45:51 -04:00
Dulmandakh
d3fb262958
remove mkdirp, bump fs-extra to 9.0.0 ( #11251 )
...
* bump mkdirp to 1.0.3, which support promise
* fix mkdirp in spr-cache.ts
* bump fs-extra to 9.0.0
* remove mkdirp
2020-03-21 17:02:05 +01:00
JJ Kasper
c14d983d54
Ensure hybrid AMP works correctly with SSG ( #11205 )
...
* Ensure hybrid AMP works correctly with SSG
* Strip AMP from query when not needed
2020-03-20 09:46:52 +01:00
Tim Neutkens
38e42cd4bb
Add support for baseUrl option in tsconfig and jsconfig ( #11203 )
...
* Add support for baseUrl option in tsconfig and jsconfig
* Move jsconfigPath
* Remove filter
2020-03-19 17:34:24 +01:00
JJ Kasper
e28e8ada98
Group CSS files in shared build output separate from JS files ( #11184 )
...
* Group CSS files in shared build output separate from JS files
* Fix buildId not being replaced in shared by all
2020-03-19 09:25:10 +01:00
JJ Kasper
836f68aa67
Add CSS file to build output ( #11145 )
...
* Remove filtering CSS from build output
* Add displaying page specific CSS files and including them in page size
2020-03-18 09:47:39 +01:00
JJ Kasper
ea7c1e1dcf
Add support for SCSS options ( #11063 )
...
* Add support for SCSS includePaths
* Support sassOptions instead of just includePaths
Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-16 10:55:16 +01:00
Aaron Reisman
85e9ce1b0b
Update preset.ts: Remove any and use updated Node.js types ( #11075 )
...
Remove any and use updated Node.js types
2020-03-15 12:22:53 +01:00
JJ Kasper
71f97198d1
Add support for static 404 when _error does not have custom GIP ( #11062 )
...
* Add support for static 404 when _error does not have custom GIP
* Update tests
2020-03-14 09:58:20 +01:00