Debian Codegraph @

packages/babel-core/src/config/validation/removed.ts

raw
1 export default {
2 auxiliaryComment: {
3 message: "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`",
4 },
5 blacklist: {
6 message: "Put the specific transforms you want in the `plugins` option",
7 },
8 breakConfig: {
9 message: "This is not a necessary option in Babel 6",
10 },
11 experimental: {
12 message: "Put the specific transforms you want in the `plugins` option",
13 },
14 externalHelpers: {
15 message:
16 "Use the `external-helpers` plugin instead. " +
17 "Check out http://babeljs.io/docs/plugins/external-helpers/",
18 },
19 extra: {
20 message: "",
21 },
22 jsxPragma: {
23 message:
24 "use the `pragma` option in the `react-jsx` plugin. " +
25 "Check out http://babeljs.io/docs/plugins/transform-react-jsx/",
26 },
27 loose: {
28 message:
29 "Specify the `loose` option for the relevant plugin you are using " +
30 "or use a preset that sets the option.",
31 },
32 metadataUsedHelpers: {
33 message: "Not required anymore as this is enabled by default",
34 },
35 modules: {
36 message:
37 "Use the corresponding module transform plugin in the `plugins` option. " +
38 "Check out http://babeljs.io/docs/plugins/#modules",
39 },
40 nonStandard: {
41 message:
42 "Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. " +
43 "Also check out the react preset http://babeljs.io/docs/plugins/preset-react/",
44 },
45 optional: {
46 message: "Put the specific transforms you want in the `plugins` option",
47 },
48 sourceMapName: {
49 message:
50 "The `sourceMapName` option has been removed because it makes more sense for the " +
51 "tooling that calls Babel to assign `map.file` themselves.",
52 },
53 stage: {
54 message:
55 "Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets",
56 },
57 whitelist: {
58 message: "Put the specific transforms you want in the `plugins` option",
59 },
60
61 resolveModuleSource: {
62 version: 6,
63 message: "Use `babel-plugin-module-resolver@3`'s 'resolvePath' options",
64 },
65 metadata: {
66 version: 6,
67 message:
68 "Generated plugin metadata is always included in the output result",
69 },
70 sourceMapTarget: {
71 version: 6,
72 message:
73 "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " +
74 "that calls Babel to assign `map.file` themselves.",
75 },
76 } as { [name: string]: { version?: number; message: string } };