@start/plugin-read
v2.0.0
Published
๐ Read files content
Downloads
141
Readme
๐ 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/')
)