Fetch pkg/lib automatically from cockpit instead of keeping a local copy

* remove mustache module as it's not used anymore.
* port alert component to react-core as the current code creates a
broken UI
This commit is contained in:
Katerina Koukiou 2021-11-08 10:40:12 +01:00 committed by Justin Stephenson
parent e49176b966
commit e13c9d1bf3
22 changed files with 28 additions and 2696 deletions

View file

@ -14,7 +14,7 @@ const srcdir = (process.env.SRCDIR || __dirname) + path.sep + "src";
const builddir = process.env.SRCDIR || __dirname;
const distdir = builddir + path.sep + "dist";
const section = process.env.ONLYDIR || null;
const libdir = path.resolve(srcdir, "pkg" + path.sep + "lib")
const libdir = path.resolve(srcdir, "lib")
const nodedir = path.resolve(process.env.SRCDIR || __dirname, "node_modules");
/* A standard nodejs and webpack pattern */