~tuxpup/stock-toolkit

e3f84b446eb1d468109697721410fdc5c7a73160 — Geoff Beier 21 days ago 54b70f7 tailwind-integration
let tailwind control purging based on environment variable NODE_ENV
2 files changed, 6 insertions(+), 3 deletions(-)

M frontend/package.json
M frontend/tailwind.config.js
M frontend/package.json => frontend/package.json +5 -2
@@ 2,7 2,7 @@
  "name": "stock-toolkit",
  "version": "0.0.1",
  "scripts": {
    "build": "rollup -c",
    "build": "NODE_ENV=production rollup -c",
    "dev": "rollup -c -w",
    "start": "sirv public"
  },


@@ 16,10 16,13 @@
    "rollup-plugin-svelte": "^6.0.0",
    "rollup-plugin-terser": "^7.0.0",
    "svelte": "^3.0.0",
    "svelte-fa": "^2.1.1",
    "svelte-preprocess": "^4.5.1",
    "tailwindcss": "^1.8.12"
    "tailwindcss": "^1.8.12",
    "@fortawesome/fontawesome-free": "^5.15.1"
  },
  "dependencies": {
    "@fortawesome/free-solid-svg-icons": "^5.15.1",
    "sirv-cli": "^1.0.0"
  }
}

M frontend/tailwind.config.js => frontend/tailwind.config.js +1 -1
@@ 4,7 4,7 @@ module.exports = {
    purgeLayersByDefault: true,
  },
  purge: {
    enabled: true,
    //enabled: true,
    content: ["./src/**/*.svelte"],
  },
  theme: {