Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.18 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.18 KB

snowpack-plugin-template

Snowpack plugin that processes JavaScript assets.

Requirements

This plugin requires an LTS Node version (v8.0.0+) and Snowpack v2.0.0+.

Install

Using npm:

npm install --save-dev snowpack-plugin-template

Usage

Create a snowpack.config.js configuration file and import the plugin:

const dsv = require('snowpack-plugin-template');

module.exports = {
  mount: {
    public: { url: '/', static: true },
    src: { url: '/dist' },
  },
  plugins: ['snowpack-plugin-template'],
};

Options

bundle

Type: boolean
Default: true

Do you want a bundle or not?

Meta

LICENSE (MIT)