Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 643 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 643 Bytes

clean-sketch-loader

Cleanup Sketch SVG files

Issues with the output should be reported on the clean-sketch issue tracker.

Install

$ npm install --save-dev clean-sketch-loader

Usage

module.exports = {
  //...
    module: {
        rules: [
            {
                test: /\.svg/,
                use: {
                    loader: 'clean-sketch-loader',
                }
            }
        ]
    },
    //...
};

API

cleanSketch()

Removes Sketch namespaces and metadata.

License

MIT © Overblog