Skip to content
Snippets Groups Projects
Select Git revision
  • dabc309ca3329c455e4e26a8bf9a691fcafe20a7
  • main default protected
  • mathstodon-4.3.6
  • mathstodon-4.3.x
  • mathstodon-4.2.15
  • mathstodon-4.2.10
  • mathstodon-4.2.7
  • mathstodon-4.2.6
  • v4.2.5
  • v4.2.2
  • mathstodon-4.2.5
  • mathstodon-4.2
  • mathstodon-4.1
  • mastodon-4.1.3
  • v4.1.3
  • v4.1.0-diff
  • mathstodon-4.1.0
  • mastodon-v4.1.0
  • v4.0.2
  • mathstodon-4.0.2
  • mathstodon-3.5.3
  • v4.0.0rc3
  • v4.0.0rc2
  • v4.0.0rc1
  • v3.5.3
  • v3.4.8
  • v3.5.2
  • v3.5.1
  • v3.4.7
  • v3.3.3
  • v3.5.0
  • v3.5.0rc3
  • v3.5.0rc2
  • v3.5.0rc1
  • v3.4.6
  • v3.3.2
  • v3.3.1
  • v3.4.5
  • v3.4.4
  • v3.4.3
  • v3.4.2
41 results

.babelrc

Blame
  • user avatar
    Sorin Davidoi authored and Eugen Rochko committed
    * chore(yarn): Install babel-plugin-preval as development dependency
    
    * feat(babel): Add preval as a plugin
    
    * feat(emojione_light): Prevaled module what tree-shaked emojione
    
    * refactor(emoji): Use emojione_light
    
    * feat: Preload emojione_picker bundle
    
    * fix(emojione_light): Do not use Object.entries
    
    * fix(emojify): Update tests
    
    * chore(emojione_light): Remove silly ascii art
    c1f201c4
    History
    .babelrc 1.25 KiB
    {
      "presets": [
        "react",
        [
          "env",
          {
            "loose": true,
            "modules": false,
            "targets": {
              "browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
            }
          }
        ]
      ],
      "plugins": [
        "syntax-dynamic-import",
        ["transform-object-rest-spread", { "useBuiltIns": true }],
        "transform-decorators-legacy",
        "transform-class-properties",
        [
          "react-intl",
          {
            "messagesDir": "./build/messages"
          }
        ],
        "preval"
      ],
      "env": {
        "development": {
          "plugins": [
            "transform-react-jsx-source",
            "transform-react-jsx-self"
          ]
        },
        "production": {
          "plugins": [
            "lodash",
            [
              "transform-react-remove-prop-types",
              {
                "mode": "remove",
                "removeImport": true,
                "additionalLibraries": [
                  "react-immutable-proptypes"
                ]
              }
            ],
            "transform-react-inline-elements",
            [
              "transform-runtime",
              {
                "helpers": true,
                "polyfill": false,
                "regenerator": false
              }
            ]
          ]
        },
        "test": {
          "plugins": [
            "transform-es2015-modules-commonjs"
          ]
        }
      }
    }