Skip to content
  1. Feb 05, 2019
  2. Feb 04, 2019
    • Amaury Martiny's avatar
      Merge pull request #352 from paritytech/luke-309-electron-4 · 34bbbcce
      Amaury Martiny authored
      chore: Relates to #309. Update to Electron v4.0.1
      34bbbcce
    • Luke Schoen's avatar
      chore: Refactor using Babel plugin syntax from guide · 2213a8fa
      Luke Schoen authored
      In the Babel 7 migration guide these are the different plugings and
      to add them:
      
      See https://babeljs.io/blog/2018/07/27/removing-babels-stage-presets#migrating
      
      ```
      // Stage 0
      "@babel/plugin-proposal-function-bind",
      
      // Stage 1
      "@babel/plugin-proposal-export-default-from",
      "@babel/plugin-proposal-logical-assignment-operators",
      ["@babel/plugin-proposal-optional-chaining", { "loose": false }],
      ["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }],
      ["@babel/plugin-proposal-nullish-coalescing-operator", { "loose": false }],
      "@babel/plugin-proposal-do-expressions",
      
      // Stage 2
      ["@babel/plugin-proposal-decorators", { "legacy": true }],
      "@babel/plugin-proposal-function-sent",
      "@babel/plugin-proposal-export-namespace-from",
      "@babel/plugin-proposal-numeric-separator",
      "@babel/plugin-proposal-throw-expressions",
      
      // Stage 3
      "@babel/plugin-syntax-dynamic-import",
      "@babel/plugin-syntax-import-meta",
      ["@babel/plugin-proposal-class-properties", { "loose": false }],
      "@babel/plugin-proposal-json-strings"
      ```
      2213a8fa
    • Luke Schoen's avatar
      723bf261
    • Luke Schoen's avatar
      ffe59409
    • Luke Schoen's avatar
      fix: Remove stage-0 and add dependencies to fix errors. Update to Babel 7.2.3 · f9856d6b
      Luke Schoen authored
      Fixes errors:
      
      ```
      { Error: Cannot find module '@babel/plugin-proposal-class-properties' from '/Users/scon/code/src/paritytech/fether/packages/fether-ui'
      ```
      
      ```
      Failed to minify the bundle. Error: static/js/main.f19a0eac.chunk.js from Terser
      TypeError: Cannot read property 'minify' of undefined
      ```
      f9856d6b
  3. Feb 03, 2019