File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ 1. Non-Usage of Gatsby
2
+ ----------------------
3
+
4
+ Status
5
+ ------
6
+
7
+ Accepted
8
+
9
+ Context
10
+ -------
11
+
12
+ This package is responsible for containing common code concerning the transpilation,
13
+ building, linting, and testing of React-based microfrontends. Gatsby was considered as a
14
+ potential tool for this job.
15
+
16
+ Decision
17
+ --------
18
+
19
+ We will not use Gatsby in these frontend build tools for two reasons:
20
+
21
+ - Gatsby is itself a javascript framework. It concerns itself with more than
22
+ frontend build tooling, including patterns and tools for the runtime of the frontend app itself.
23
+ - Gatsby relies heavily on convention, expecting to find files in particular places.
24
+ This makes it difficult/impossible to pull a common configuration of Gatsby into a
25
+ package like this one.
26
+
27
+ Consequences
28
+ ------------
29
+
30
+ Gatsby is a great tool for us leverage when appropriate, but it is not the right tool
31
+ for the concern of this package.
32
+
33
+ References
34
+ ----------
35
+
36
+ * https://www.gatsbyjs.org/docs/
37
+ * https://www.gatsbyjs.org/docs/gatsby-project-structure/
You can’t perform that action at this time.
0 commit comments