@start/plugin-read
TypeScript icon, indicating that this package has built-in type declarations

2.0.0Β β€’Β PublicΒ β€’Β Published

πŸ“– plugin-read

Read files content.

Install

$ yarn add --dev @start/plugin-read

Usage

Example

import sequence from '@start/plugin-sequence'
import find from '@start/plugin-find'
import read from '@start/plugin-read'
import babel from '@start/plugin-lib-babel'
import write from '@start/plugin-write'

const babelConfig = {
  // …
  babelrc: false,
  sourceMap: true,
}

export const task = () =>
  sequence(
    find('src/**/*.js'),
    read,
    babel(babelConfig),
    write('build/')
  )

Package Sidebar

Install

npm i @start/plugin-read

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

3.27 kB

Total Files

5

Last publish

Collaborators

  • fosimus
  • psxcode
  • deepsweet