1.0.1 • Published 3 years ago
snowpack-plugin-copy v1.0.1
snowpack-plugin-copy
Install
npm install snowpack-plugin-copy -D
Usage
module.exports = {
plugins: [
[
'snowpack-plugin-copy',
{
patterns: [
{
source: 'source/*.jpg',
destination: 'destination',
options: {},
},
{
source: ['source/*.png', '!source/goat.png'],
destination: 'destination',
},
],
},
],
],
};
API
The same as cpy.