ColdBox Elixir
v1.x
v1.x
  • Introduction
  • Changelog
  • Migration Guide
  • Installation
  • Running Elixir
  • Configuration Options
  • Working With Stylesheets
  • Working With Scripts
  • Versioning Cache Busting
  • Mixing in tasks from ColdBox Modules
  • ContentBox Integration
  • Copying Files & Directories
  • Deleting Files & Directories
  • BrowserSync
  • Vue.js Integration
  • Writing Elixir Extensions
Powered by GitBook
On this page
Edit on Git

Copying Files & Directories

The copy method may be used to copy files and/or directories to new locations. All operations are relative to the project's root directory:

const elixir = require("coldbox-elixir");

module.exports = elixir(mix => {
    mix.copy("resources/vendor/foo/bar.css", "includes/css/bar.css");
});
PreviousContentBox IntegrationNextDeleting Files & Directories

Last updated 6 years ago