forked from babel/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_redirects
113 lines (100 loc) · 5.35 KB
/
_redirects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# https://www.netlify.com/docs/redirects/
# REPL builds, to preview pull requests
/repl/build/:build /repl/ 200
# Previous versions of the REPL
/repl/version/:version /repl/ 200
# Redirect aliases
https://new.babeljs.io/* https://babeljs.io/:splat 301!
https://babel.netlify.com/* https://babeljs.io/:splat 301!
/php.html https://old.babeljs.io/php/
/repl_old.html https://old.babeljs.io/repl/
/repl_old https://old.babeljs.io/repl/
/7/ https://old.babeljs.io/repl/build/7.0/
/7.html https://old.babeljs.io/repl/build/7.0/
/assumptions /docs/en/assumptions
# after docusaurus rewrite
/php/ https://old.babeljs.io/php/
/docs/usage/ /docs/en/usage/
/docs/usage/cli/ /docs/en/babel-cli/
/docs/usage/api/ /docs/en/babel-core/
/docs/core-packages/ /docs/en/babel-core/
/docs/usage/polyfill/ /docs/en/babel-polyfill/
/docs/usage/babel-register/ /docs/en/babel-register/
/docs/usage/babelrc/ /docs/en/config-files/
/docs/usage/caveats/ /docs/en/caveats/
/docs/editors/ /docs/en/editors/
/env/ /docs/en/env/
/faq/ /docs/en/faq/
/learn-es2015/ /docs/en/learn/
/docs/plugins/ /docs/en/plugins/
/docs/presets/ /docs/en/presets/
/docs/setup/ /en/setup/
/docs/community/videos/ /en/videos/
/core-packages/babel-types/ /docs/en/babel-types/
/core-packages/babel-template/ /docs/en/babel-template/
/core-packages/babel-helpers/ /docs/en/babel-helpers/
/core-packages/babel-code-frame/ /docs/en/babel-code-frame/
/core-packages/babylon/ /docs/en/babylon/
/docs/en/babylon/ /docs/en/babel-parser
/docs/using-babel/ /en/setup
/plugins.html /en/setup
/docs/using-6to5/ /en/setup
/docs/usage/browser/ /en/setup
/browser.html /en/setup
/docs/advanced/plugins/ /docs/en/plugins
/docs/usage/modules/ /docs/en/plugins
/usage.html /docs/en/babel-cli
/docs/faq/ /docs/en/faq
/docs/learn-es6/ /docs/en/learn
/docs/learn-es2015/ /docs/en/learn
/features.html /docs/en/learn
/docs/tour/ /docs/en/learn
/docs/core-packages/babel-register/ /docs/en/babel-register
/docs/usage/require/ /docs/en/babel-register
/docs/usage/options/ /docs/en/options
/caveats.html /docs/en/caveats
/repl.html /repl/
/docs/plugins/preset-* /docs/en/babel-preset-:splat
/docs/plugins/transform-* /docs/en/babel-plugin-transform-:splat
/docs/plugins/syntax-* /docs/en/babel-plugin-syntax-:splat
/docs/plugins/minify-* /docs/en/babel-plugin-minify-:splat
/docs/plugins/external-helpers/ /docs/en/babel-plugin-external-helpers
/docs/en/babel-plugin-transform-async-generator-functions /docs/en/babel-plugin-proposal-async-generator-functions
/docs/en/babel-plugin-transform-class-properties /docs/en/babel-plugin-proposal-class-properties
/docs/en/babel-plugin-transform-decorators /docs/en/babel-plugin-proposal-decorators
/docs/en/babel-plugin-transform-do-expressions /docs/en/babel-plugin-proposal-do-expressions
/docs/en/babel-plugin-transform-export-extensions /docs/en/babel-plugin-proposal-export-namespace
/docs/en/babel-plugin-transform-object-rest-spread /docs/en/babel-plugin-proposal-object-rest-spread
/docs/plugins/check-es2015-constants/ /docs/en/babel-plugin-check-es2015-constants
/docs/plugins/transform-es2015-constants /docs/en/babel-plugin-check-es2015-constants
/docs/plugins/undeclared-variables-check/ /docs/en/babel-plugin-undeclared-variables-check
/docs/en/next/tools/* /setup
# Blog rewrites
/7.11.0 /blog/2020/07/30/7.11.0
/7.10.0 /blog/2020/05/25/7.10.0
/7.9.0 /blog/2020/03/16/7.9.0
/7.8.0 /blog/2020/01/11/7.8.0
/7.7.0 /blog/2019/11/05/7.7.0
/7.6.0 /blog/2019/09/05/7.6.0
/7.5.0 /blog/2019/07/03/7.5.0
/7.4.0 /blog/2019/03/19/7.4.0
/7.3.0 /blog/2019/01/21/7.3.0
/7.2.0 /blog/2018/12/03/7.2.0
/7.1.0 /blog/2018/09/17/7.1.0
/7.0.0 /blog/2018/08/27/7.0.0
/6.23.0 /blog/2017/02/13/6.23.0
/6.23.3 /blog/2017/02/13/6.23.0
# Docusaurus versioning rewrites
# We have disabled docusaurus versioning since 7.11, they are preserved for link compatibility
/docs/en/next/* /docs/en/:splat
/docs/en/7.10.0/* /docs/en/:splat
/docs/en/7.9.0/* /docs/en/:splat
/docs/en/7.8.0/* /docs/en/:splat
/docs/en/7.7.0/* /docs/en/:splat
/docs/en/7.6.0/* /docs/en/:splat
/docs/en/7.5.0/* /docs/en/:splat
/docs/en/7.4.0/* /docs/en/:splat
/docs/en/7.3.0/* /docs/en/:splat
/docs/en/7.2.0/* /docs/en/:splat
/docs/en/7.1.0/* /docs/en/:splat
/docs/en/7.0.0/* /docs/en/:splat