|
1 |
| -/* |
2 |
| -In swizzled components look for "SWM -" string to see our modifications |
3 |
| -*/ |
4 |
| - |
5 | 1 | const lightCodeTheme = require('./src/theme/CodeBlock/highlighting-light.js');
|
6 | 2 | const darkCodeTheme = require('./src/theme/CodeBlock/highlighting-dark.js');
|
7 | 3 | // @ts-check
|
@@ -36,8 +32,8 @@ const config = {
|
36 | 32 | theme: {
|
37 | 33 | customCss: require.resolve('./src/css/index.css'),
|
38 | 34 | },
|
39 |
| - googleAnalytics: { |
40 |
| - trackingID: '...', |
| 35 | + gtag: { |
| 36 | + trackingID: 'G-TJND8QJM9P', |
41 | 37 | anonymizeIP: true,
|
42 | 38 | },
|
43 | 39 | }),
|
@@ -85,47 +81,6 @@ const config = {
|
85 | 81 | indexName: 'react-native-executorch',
|
86 | 82 | },
|
87 | 83 | }),
|
88 |
| - plugins: [ |
89 |
| - // ...[ |
90 |
| - // process.env.NODE_ENV === 'production' && '@docusaurus/plugin-debug', |
91 |
| - // ].filter(Boolean), |
92 |
| - // async function reanimatedDocusaurusPlugin(context, options) { |
93 |
| - // return { |
94 |
| - // name: 'react-native-reanimated/docusaurus-plugin', |
95 |
| - // configureWebpack(config, isServer, utils) { |
96 |
| - // const processMock = !isServer ? { process: { env: {} } } : {}; |
97 |
| - |
98 |
| - // const raf = require('raf'); |
99 |
| - // raf.polyfill(); |
100 |
| - |
101 |
| - // return { |
102 |
| - // mergeStrategy: { |
103 |
| - // 'resolve.extensions': 'prepend', |
104 |
| - // }, |
105 |
| - // plugins: [ |
106 |
| - // new webpack.DefinePlugin({ |
107 |
| - // ...processMock, |
108 |
| - // __DEV__: 'false', |
109 |
| - // setImmediate: () => {}, |
110 |
| - // }), |
111 |
| - // ], |
112 |
| - // module: { |
113 |
| - // rules: [ |
114 |
| - // { |
115 |
| - // test: /\.txt/, |
116 |
| - // type: 'asset/source', |
117 |
| - // }, |
118 |
| - // ], |
119 |
| - // }, |
120 |
| - // resolve: { |
121 |
| - // alias: { 'react-native$': 'react-native-web' }, |
122 |
| - // extensions: ['.web.js', '...'], |
123 |
| - // }, |
124 |
| - // }; |
125 |
| - // }, |
126 |
| - // }; |
127 |
| - // }, |
128 |
| - ], |
129 | 84 | };
|
130 | 85 |
|
131 | 86 | module.exports = config;
|
0 commit comments