Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 1.86 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.86 KB

Moved

This module has moved and is now available at @snowpack-angular/plugin. Please update your dependencies. This repository is no longer maintained.

snowpack-plugin-angular

Contributor Covenant PRs Welcome npm package version install size

When developing or building your site with Snowpack, this plugin will run Angular's ngc CLI in your project and pipe the output through Snowpack.

Usage

npm i --save-dev snowpack-plugin-angular

Then add the plugin to your Snowpack config:

// snowpack.config.js

module.exports = {
	plugins: ['snowpack-plugin-angular'],
};

Plugin Options

Name Type Description
args string Optional arguments to pass to the ngc CLI. For example, you can configure a custom project directory (with a custom tsconfig.json file) using args: "--project ./your/custom/path".