Menu
io arcio arcio arc
🌜
🌞
io arcio arcio arc
  • Getting Started
  • Select languages and frameworks
  • Configuration
    • Overview
    • Site Settings
    • Build Settings
    • Extending the webpack
  • Build
    • Overview
    • HTML
    • CSS
    • JavaScript
  • Plugins
    • Overview
    • Tasks
      • browser-sync
      • clean
      • copy
      • manifest
      • service-worker
      • webp-converter
      • webpack-babel
      • webpack-css
      • webpack-html
      • webpack-pug
      • webpack-sass
      • webpack-stylus
      • webpack-typescript
      • webpack-vue
      • webpack-vue-typescript
      • yaml2json
    • Modules
      • env
        • Overview
        • Constants
          • Common
          • Site Information
          • HTML
          • CSS
          • JavaScript
          • Images
          • Static
          • YAML2JSON
      • file-list
      • logger
      • output-dir-diff
      • path-build
      • read-yaml
      • types
      • utils
      • webp-converter
      • webpack-loaders-image
      • webpack-loaders-js
      • webpack-loaders-pug-linter
      • webpack-plugins-task-message
      • webpack-settings
      • yaml2json

@io-arc/task-copy

If you put a file in the directory set in Build Settings#wsDir.static, it will be copied as is.
On the other hand, if you delete or rename a file, the old file will be deleted from the output directory.

Usage#

$ npm i -D @io-arc/task-copy
# once run
$ NODE_ENV=development MODE_ENV=once ia-copy
# watch run
$ NODE_ENV=development MODE_ENV=watch ia-copy

Or

package.json
{
"scripts": {
"copy": "ia-copy"
}
}
$ npm run copy
Previous
« @io-arc/task-clean
Next
@io-arc/task-manifest »
  • Usage
Copyright © 2022 io arc project.