.babelrc 918 Bytes
Newer Older
1
{
2
  "comments": true,
3 4
  "plugins": [
    "lodash",
5 6 7 8 9 10 11 12 13 14 15 16 17 18
    "graphql-tag",
    "@babel/plugin-syntax-dynamic-import",
    "@babel/plugin-syntax-import-meta",
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-json-strings",
    [
      "@babel/plugin-proposal-decorators",
      {
        "legacy": true
      }
    ],
    "@babel/plugin-proposal-function-sent",
    "@babel/plugin-proposal-export-namespace-from",
    "@babel/plugin-proposal-numeric-separator",
19 20 21
    "@babel/plugin-proposal-throw-expressions",
    [
      "prismjs", {
22
        "languages": ["clike", "markup"],
23
        "plugins": ["line-numbers", "autoloader", "normalize-whitespace", "copy-to-clipboard", "toolbar"],
24
        "theme": "twilight",
25 26 27
        "css": true
      }
    ]
28
  ],
29
  "presets": [
30
    [
31
      "@babel/preset-env", {
32
        "useBuiltIns": "entry",
33
        "corejs": 3,
34
        "debug": false
35
      }
36
    ]
37 38
  ]
}