Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
browser extension: fix tests on circle by adding babel class properti…
…es plugin fixes https://app.circleci.com/pipelines/github/snarfed/bridgy/475/workflows/25180b19-02bd-4eba-8016-492bb4c0996c/jobs/1583 : ``` SyntaxError: /root/project/browser-extension/common.js: Support for the experimental syntax 'classProperties' isn't currently enabled (38:3): 36 | class Silo { 37 | DOMAIN // eg 'silo.com' > 38 | NAME // eg 'instagram' | ^ 39 | BASE_URL // eg 'https://silo.com' 40 | LOGIN_URL // eg 'https://silo.com/login' 41 | COOKIE // eg 'sessionid' Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation. If you want to leave it as-is, add @babel/plugin-syntax-class-properties (https://git.io/vb4yQ) to the 'plugins' section to enable parsing. ```
- Loading branch information