Skip to content

sam-parsons/snowpack-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published