3.0.0 • Published 3 years ago

@snowpack-angular/plugin v3.0.0

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

@snowpack-angular/plugin

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-angular/plugin

Then add the plugin to your Snowpack config:

// snowpack.config.js

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

Plugin Options

NameTypeDescription
argsstringOptional 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".