Skip to content

A lightweight mix for copying assets to your distribution directory.

Notifications You must be signed in to change notification settings

cdebotton/pruno-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pruno-publish

A lightweight mix for copying assets to your distribution directory.

Usage

"use strict";

var pruno = require('pruno');

pruno.plugins(function(mix) {
  mix
    .configure({ dir: __dirname + '/config' })
    .publish('assets', {
      pkg: false,
      src: [
        '::src/assets/**/*'
      ],
      dist: '::dist'
    })
    .publish('font-awesome', {
      pkg: 'font-awesome',
      src: ['fonts/**/*'],
      dist: '::dist/fonts'
    });
});

About

A lightweight mix for copying assets to your distribution directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published