3.3.3 • Published 5 years ago

@motorjs/plugin-copy v3.3.3

Weekly downloads
1
License
-
Repository
github
Last release
5 years ago

Motor plugin-copy

Installation

using yarn

yarn add @motorjs/plugin-copy

using npm

npm i -S @motorjs/plugin-copy

Usage

const motor = require('@motorjs/engine')
const Copy = require('@motorjs/plugin-copy')

const motorConfig = {
  templatesDir : path.resolve('templates'),
  outputDir : path.resolve('output'),
  viewsDir : path.resolve('views'),

  plugins: [
    new Copy()
    // other plugins
  ]
}

motor(motorConfig)

by default Copy will copy evrything from path.join(templatesDir, template, 'assets') to path.join(outputDir, `${lang}-${country}/${filename}/assets`)

3.3.3

5 years ago

3.3.2

6 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago