@medplum/react 2.1.16 → 2.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/api-extractor.json +0 -3
- package/babel.config.cjs +0 -23
- package/tsdoc.json +0 -4
package/package.json
CHANGED
package/api-extractor.json
DELETED
package/babel.config.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
['@babel/preset-env', { targets: { node: 'current' } }],
|
|
4
|
-
['@babel/preset-react', { runtime: 'automatic' }],
|
|
5
|
-
'@babel/preset-typescript',
|
|
6
|
-
],
|
|
7
|
-
plugins: [
|
|
8
|
-
function () {
|
|
9
|
-
return {
|
|
10
|
-
visitor: {
|
|
11
|
-
MetaProperty(path) {
|
|
12
|
-
// replace e.g. import.meta.env.GOOGLE_AUTH_ORIGINS into process.env.GOOGLE_AUTH_ORIGINS
|
|
13
|
-
const metaProperty = path.node;
|
|
14
|
-
if (metaProperty.meta.name === 'import' && metaProperty.property.name === 'meta') {
|
|
15
|
-
// We're specifically looking for instances of `import.meta` so ignore any other meta properties.
|
|
16
|
-
path.replaceWithSourceString('process');
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
package/tsdoc.json
DELETED