This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from 'fs/promises'; | |
import path from 'path'; | |
import htmlnano from 'htmlnano'; | |
import html from '@rollup/plugin-html'; | |
const env = process.env.NODE_ENV; | |
const isProd = env === 'production'; | |
const template = async ({ attributes, files, title }) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==================== */ | |
/* VScode 1.41.0 AND UP */ | |
/* ==================== */ | |
/* https://gist.github.com/akmeghdad/b1208c2caa601f0ba29f953faabac709 */ | |
/* THANKS OF */ | |
/* https://gist.github.com/samdenty/b96f4df576d05cb123248f8ebfa899b6 */ | |
/* https://gist.github.com/Lightfire228/39dc2cf403237a190e79a000912691b2 */ | |
/* ==> VScode 1.38 + */ | |
/* [WINDOWS] add this code in %USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main.css */ | |
/* ==> VScode 1.31 to 1.37 */ |