mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
refactor(share): removing problematic build step
This commit is contained in:
parent
83c136174e
commit
b2b6654846
@ -15,7 +15,7 @@ const rootDir = path.dirname(process.env.npm_package_json!);
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const modules = ["scripts", "styles", "templates"];
|
||||
const modules = ["scripts", "styles"];
|
||||
const entryPoints: {in: string, out: string}[] = [];
|
||||
|
||||
function makeEntry(mod: string) {
|
||||
@ -27,9 +27,6 @@ function makeEntry(mod: string) {
|
||||
case "scripts":
|
||||
entrypoint = "index.ts";
|
||||
break;
|
||||
case "templates":
|
||||
entrypoint = "page.ejs";
|
||||
break;
|
||||
default:
|
||||
throw new Error(`Unknown module type ${mod}.`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user