Jan Potoms
2112e81ae4
Don't prepend a slash on empty path ( #9973 )
...
Fixes https://github.com/zeit/next.js/issues/9678
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-08 11:45:17 -05:00
JJ Kasper
ae78e8f5be
Fix get(Static|Initial)Props re-running when updating query ( #9907 )
...
* Add failing test for re-calling getStaticProps after updating query
* Fix get(Static|Initial)Props re-running when updating query
* Update invalid export tests
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-03 15:36:24 -05:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
Luis Fernando Alvarez D
36aabe05a2
Show warning if next export detects an API route ( #8257 )
...
* Throw error if next export detects an api route
* Moved the test to the export tests
* Added missing comma
* Move the API route comment
* Add comma after replace
* Show a warning instead
2019-08-12 00:37:20 +02:00
Joe Haddad
aac5121466
Apply missing formatting ( #8079 )
...
* Reapply missing formatting
* Fix lint
2019-07-23 14:33:49 -04:00
Lukáš Huvar
2450c85e81
exportPathMap
dynamic routes params fix (#7846 )
...
* Fix dynamic page export fixes #7829
* Adding handling of unmatched path
* Remove logs
* Fix newline
* Tests
* Fix promise
* Fix amp tests
* Revert test
* Adjust error document
* Remove old argument
* Simplify export test
* Ensure page !== path for this check
2019-07-10 17:13:44 -04:00
Joe Haddad
b3170d2648
Format missed files ( #7464 )
...
* Format missed files
* Remove unnecessary rule
* Fix type error
2019-05-29 18:19:32 -07:00
JJ Kasper
e1cf32ca60
Update export tests and fixed import ( #6738 )
...
* Fix import in export worker
* Update export tests
* Turn test parallelism up
* Fix config in export-default-map
* Switch parallelism back to 3
2019-03-20 11:42:02 -04:00
JJ Kasper
38ad8d870c
Fix export with folders that contain dot ( #6538 )
2019-03-12 18:30:03 -05:00
Connor Davis
bd249180c6
Fix Runtime Config in next export
( #6258 )
2019-02-11 19:28:47 -06:00
Tim Neutkens
02ab732096
Remove next/asset ( #6046 )
...
* Remove next/asset
Reasoning described in #5970
* Remove next/asset tests
* Bring back asset-page
2019-01-14 01:32:20 +01:00
Andy
b041fa4782
Support for wasm ( #5316 )
...
* Set a default path for wasm modules
* Added the mimetype "application/wasm" for wasm files
* Upgrade write-file-webpack-plugin to 4.4.1
* Made dynamic(import()) in test to dynamic(() => import())
2018-10-02 13:10:07 +02:00
Tim Neutkens
625288796f
Move next export
into it's own directory ( #5084 )
...
* Rename static to export in integration tests
* Move export functionality into it’s own directory
* Fix path
2018-09-04 11:21:00 +02:00