This commit is contained in:
parent
56518ea879
commit
7106612555
4 changed files with 5 additions and 6 deletions
|
@ -1,8 +1,7 @@
|
||||||
|
import { PurgeCSS } from "purgecss";
|
||||||
import Hyperate from "./utilities/sockets/Hyperate";
|
import Hyperate from "./utilities/sockets/Hyperate";
|
||||||
import Lanyard from "./utilities/sockets/Lanyard";
|
import Lanyard from "./utilities/sockets/Lanyard";
|
||||||
|
|
||||||
import { PurgeCSS } from "purgecss";
|
|
||||||
|
|
||||||
const development = process.env.NODE_ENV === "development";
|
const development = process.env.NODE_ENV === "development";
|
||||||
|
|
||||||
const build = async () => {
|
const build = async () => {
|
||||||
|
|
|
@ -9,7 +9,7 @@ let lanyard: LanyardData = {
|
||||||
activities: [],
|
activities: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
await fs.rm("./dist", { recursive: true, force: true }).catch(() => { });
|
await fs.rm("./dist", { recursive: true, force: true }).catch(() => {});
|
||||||
|
|
||||||
if (!Backend.development) {
|
if (!Backend.development) {
|
||||||
await Backend.build();
|
await Backend.build();
|
||||||
|
|
2
test.ts
2
test.ts
|
@ -1,3 +1,3 @@
|
||||||
import browserslist from 'browserslist';
|
import browserslist from "browserslist";
|
||||||
|
|
||||||
console.log(browserslist(["last 1 version and not dead"]));
|
console.log(browserslist(["last 1 version and not dead"]));
|
Loading…
Add table
Reference in a new issue