Snowpack plugin that processes JavaScript assets.
This plugin requires an LTS Node version (v8.0.0+) and Snowpack v2.0.0+.
Using npm:
npm install --save-dev snowpack-plugin-template
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'],
};
Type: boolean
Default: true
Do you want a bundle or not?