@lingui/conf 3.11.0 → 3.13.0

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.
Files changed (2) hide show
  1. package/index.js +11 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -52,12 +52,6 @@ var defaultConfig = {
52
52
  minimal: true
53
53
  }
54
54
  },
55
- extractors: (0, _jestValidate.multipleValidOptions)([], ["babel"], [{
56
- match: function match(fileName) {
57
- return false;
58
- },
59
- extract: function extract(filename, targetDir, options) {}
60
- }]),
61
55
  extractBabelOptions: {
62
56
  plugins: [],
63
57
  presets: []
@@ -121,6 +115,12 @@ function getConfig() {
121
115
  }
122
116
 
123
117
  var exampleConfig = _objectSpread(_objectSpread({}, defaultConfig), {}, {
118
+ extractors: (0, _jestValidate.multipleValidOptions)([], ["babel"], [{
119
+ match: function match(fileName) {
120
+ return false;
121
+ },
122
+ extract: function extract(filename, targetDir, options) {}
123
+ }]),
124
124
  runtimeConfigModule: (0, _jestValidate.multipleValidOptions)({
125
125
  i18n: ["@lingui/core", "i18n"],
126
126
  Trans: ["@lingui/react", "Trans"]
@@ -136,7 +136,11 @@ var exampleConfig = _objectSpread(_objectSpread({}, defaultConfig), {}, {
136
136
  extends: "babelconfig.js",
137
137
  rootMode: "rootmode",
138
138
  plugins: ["plugin"],
139
- presets: ["preset"]
139
+ presets: ["preset"],
140
+ targets: (0, _jestValidate.multipleValidOptions)({}, '> 0.5%', ['> 0.5%', 'not dead'], undefined),
141
+ assumptions: (0, _jestValidate.multipleValidOptions)({}, undefined),
142
+ browserslistConfigFile: (0, _jestValidate.multipleValidOptions)(true, undefined),
143
+ browserslistEnv: (0, _jestValidate.multipleValidOptions)('.browserslistrc', undefined)
140
144
  }
141
145
  });
142
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/conf",
3
- "version": "3.11.0",
3
+ "version": "3.13.0",
4
4
  "sideEffects": false,
5
5
  "description": "Get lingui configuration from package.json",
6
6
  "keywords": [