panto-transformer-integrity
v0.2.4
Published
Integrity transformer for panto
Downloads
2
Maintainers
Readme
panto-transformer-integrity
Integrity transformer for panto.
panto.loadTransformer('integrity');
panto.pick('**/*.{css,js}').read().integrity({
algorithm: 'sha256',
ignoreError: true
});
options
- algorithm: string, could be one of "sha256","sha384","sha512", depends on the openssl installed
- ignoreError: boolean, if fail when error