@lingui/macro 4.8.0-next.0 → 4.8.0-next.1
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/dist/index.cjs +30 -1001
- package/dist/index.d.cts +1 -7
- package/dist/index.d.mts +1 -7
- package/dist/index.d.ts +1 -7
- package/dist/index.mjs +30 -988
- package/dist/plugin.cjs +10 -0
- package/dist/plugin.d.cts +13 -0
- package/dist/plugin.d.mts +13 -0
- package/dist/plugin.d.ts +13 -0
- package/dist/plugin.mjs +4 -0
- package/dist/shared/macro.0c5d598c.mjs +1059 -0
- package/dist/shared/macro.1cca3fdc.cjs +1063 -0
- package/package.json +21 -6
package/dist/plugin.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PluginObj } from '@babel/core';
|
|
2
|
+
import * as babelTypes from '@babel/types';
|
|
3
|
+
import { LinguiConfigNormalized } from '@lingui/conf';
|
|
4
|
+
|
|
5
|
+
type LinguiPluginOpts = {
|
|
6
|
+
extract?: boolean;
|
|
7
|
+
linguiConfig?: LinguiConfigNormalized;
|
|
8
|
+
};
|
|
9
|
+
declare function export_default({ types: t, }: {
|
|
10
|
+
types: typeof babelTypes;
|
|
11
|
+
}): PluginObj;
|
|
12
|
+
|
|
13
|
+
export { type LinguiPluginOpts, export_default as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PluginObj } from '@babel/core';
|
|
2
|
+
import * as babelTypes from '@babel/types';
|
|
3
|
+
import { LinguiConfigNormalized } from '@lingui/conf';
|
|
4
|
+
|
|
5
|
+
type LinguiPluginOpts = {
|
|
6
|
+
extract?: boolean;
|
|
7
|
+
linguiConfig?: LinguiConfigNormalized;
|
|
8
|
+
};
|
|
9
|
+
declare function export_default({ types: t, }: {
|
|
10
|
+
types: typeof babelTypes;
|
|
11
|
+
}): PluginObj;
|
|
12
|
+
|
|
13
|
+
export { type LinguiPluginOpts, export_default as default };
|
package/dist/plugin.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PluginObj } from '@babel/core';
|
|
2
|
+
import * as babelTypes from '@babel/types';
|
|
3
|
+
import { LinguiConfigNormalized } from '@lingui/conf';
|
|
4
|
+
|
|
5
|
+
type LinguiPluginOpts = {
|
|
6
|
+
extract?: boolean;
|
|
7
|
+
linguiConfig?: LinguiConfigNormalized;
|
|
8
|
+
};
|
|
9
|
+
declare function export_default({ types: t, }: {
|
|
10
|
+
types: typeof babelTypes;
|
|
11
|
+
}): PluginObj;
|
|
12
|
+
|
|
13
|
+
export { type LinguiPluginOpts, export_default as default };
|
package/dist/plugin.mjs
ADDED