feat: --config is not needed anymore (#48)
This commit removes the need for users to specify a --config file. TS libs are now configured via `/// <reference>` directives, and the JSX transform is specified via the `/** @jsx h */` pragma. The future is configless!
This commit is contained in:
@@ -36,14 +36,12 @@ export class Bundler {
|
||||
bundle: true,
|
||||
entryPoints,
|
||||
format: "esm",
|
||||
jsxFactory: "h",
|
||||
jsxFragment: "Fragment",
|
||||
metafile: true,
|
||||
minify: true,
|
||||
outdir: `/`,
|
||||
outfile: "",
|
||||
platform: "neutral",
|
||||
plugins: [freshPlugin(this.#pages), denoPlugin({ loader: "portable" })],
|
||||
plugins: [freshPlugin(this.#pages), denoPlugin()],
|
||||
splitting: true,
|
||||
target: ["chrome89", "firefox88", "safari13"],
|
||||
treeShaking: true,
|
||||
|
||||
Reference in New Issue
Block a user