Skip to content

Babel preset to transform JSX into Copy.copyCreateElement() calls

License

Notifications You must be signed in to change notification settings

Lemenxzy/babel-preset-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-copy

Babel preset to transform JSX into Copy.copyCreateElement() calls

Install

npm install babel-preset-copy --save-dev

Use

with webpack loader

{
    test: /\.copy$/,
    exclude: /node_modules/,
    include: [joinPath('src'), joinPath('example')],
    use: {
        loader: 'babel-loader',
        options: {
            presets: ['babel-preset-copy']
        }
    }
}

About

Babel preset to transform JSX into Copy.copyCreateElement() calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published