5.0.3 • Published 4 years ago

@marko/prebuild v5.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Utility to precompile Marko templates using lasso prebuilds.

CLI

This package does not yet expose a CLI

API

Installation

npm install @marko/prebuild

Example

import prebuild from "@marko/prebuild";

prebuild({
  config: "./lasso-config.json", // Either a lasso config object, or a path to one.
  flags: ["skin-ds6"], // Lasso flags to use when building the pages.
  pages: [
    // A list of paths to marko templates to prebuild.
    "src/routes/index/index.marko"
  ]
}).then(() => {
  // All templates have their prebuild.json files written to disk.
  console.log("Prebuild completed");
});
5.0.3

4 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.1.0

5 years ago

4.0.7

5 years ago

4.0.6

5 years ago

4.0.5

5 years ago

3.2.0

6 years ago

3.1.6

6 years ago

3.1.3

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

0.0.2

6 years ago