PolyTools Journal 0.1.1 / src/flavor.js

12 lines · 653 bytes · SHA-256 66ce72e47c9684601847fb9eef932ac781c070f2b0fcdf71a9a956a9625bf78d

1/*
2 * PolyTools — which product this build is.
3 * The source tree is the full developer build (both tools). scripts/build.py overwrites this file in each product package:
4 * PolyTools Trade Cost → { id: 'trade-cost', cost: true, journal: false }
5 * PolyTools Journal → { id: 'journal', cost: false, journal: true }
6 * Loaded first everywhere: content scripts, popup, journal page, background (importScripts).
7 */
8(function (root) {
9 'use strict';
10 root.PWL = root.PWL || {};
11 root.PWL.flavor = {"cost": false, "journal": true, "id": "journal", "name": "PolyTools Journal"};
12})(typeof globalThis !== 'undefined' ? globalThis : this);