Premier commit déjà bien avancé
This commit is contained in:
16
frontend/node_modules/@lezer/markdown/build.js
generated
vendored
Normal file
16
frontend/node_modules/@lezer/markdown/build.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import {build, watch} from "@marijn/buildtool"
|
||||
import {fileURLToPath} from "url"
|
||||
import {dirname, join} from "path"
|
||||
|
||||
let tsOptions = {
|
||||
lib: ["es5", "es6"],
|
||||
target: "es6"
|
||||
}
|
||||
|
||||
let main = join(dirname(fileURLToPath(import.meta.url)), "src", "index.ts")
|
||||
|
||||
if (process.argv.includes("--watch")) {
|
||||
watch([main], [], {tsOptions})
|
||||
} else {
|
||||
build(main, {tsOptions})
|
||||
}
|
||||
Reference in New Issue
Block a user