2.5.1 • Published 1 month ago

@wxa/plugin-copy v2.5.1

Weekly downloads
26
License
MIT
Repository
github
Last release
1 month ago

:blush::blush::blush::blush:Documentation

Usually, dynamic path like path/to/dir/{{boo}}.png, @wxa/cli wouldn't resolve all files for it. So we need to copy this kind of static assets from project to build dist directory. That what CopyPlugin for.

Usage

{
    context: path.resolve(__dirname, 'src'),
    plugins: [
        new CopyPlugin({
            from: './static', // relative to process.cwd
            to: 'static',  // dist dir name
            ignore: ['a.png']
        })
    ]
}
2.5.1

1 month ago

2.4.1

2 years ago

2.3.1

2 years ago

2.2.0

4 years ago

2.2.0-alpha.57

4 years ago

2.0.7

5 years ago

2.1.0-alpha.1

5 years ago

2.1.0-alpha.0

5 years ago

2.0.6

5 years ago

2.0.0

5 years ago

2.0.0-rc.1

5 years ago

2.0.0-rc.0

5 years ago

2.0.0-rc.92

5 years ago