From 5e7928e5bb35170cbd8b8b0ec731df53aa9e5738 Mon Sep 17 00:00:00 2001 From: Thomas Brouard Date: Mon, 23 May 2022 18:46:45 +0200 Subject: [PATCH] Build with Parcel --- .gitignore | 3 + .parcelrc | 8 + demo/electron-tabs.html | 2 +- dist/electron-tabs.js | 382 +++++ dist/electron-tabs.js.map | 1 + package-lock.json | 2850 +++++++++++++++++++++++++--------- package.json | 12 +- index.d.ts => src/index.d.ts | 0 index.js => src/index.js | 160 +- src/style.inline.css | 149 ++ 10 files changed, 2678 insertions(+), 889 deletions(-) create mode 100644 .parcelrc create mode 100644 dist/electron-tabs.js create mode 100644 dist/electron-tabs.js.map rename index.d.ts => src/index.d.ts (100%) rename index.js => src/index.js (83%) create mode 100644 src/style.inline.css diff --git a/.gitignore b/.gitignore index 5148e52..99f2ed6 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ jspm_packages # Optional REPL history .node_repl_history + +# Parcel +.parcel-cache diff --git a/.parcelrc b/.parcelrc new file mode 100644 index 0000000..3f20dad --- /dev/null +++ b/.parcelrc @@ -0,0 +1,8 @@ +{ + "extends": "@parcel/config-default", + "transformers": { + "*.inline.css": [ + "parcel-transformer-css-to-string" + ] + } +} diff --git a/demo/electron-tabs.html b/demo/electron-tabs.html index c7fe650..0049eef 100644 --- a/demo/electron-tabs.html +++ b/demo/electron-tabs.html @@ -8,7 +8,7 @@ - +