@web-component-attribute-polyfill/browser
v1.0.8
Published
Package to load the polyfill into a browser
Readme
@web-component-attribute-polyfill/browser
Package to load the polyfill into a browser
Usage
Ensure to import the polyfill, through an import:
import * as polyfill from '@web-component-attribute-polyfill/browser';Or from the HTML script tag:
<script defer="defer" src="./node_modules/@web-component-attribute-polyfill/browser/build/bundle.js">You could find in the build folder various targets
Commands
npm run dev:build: Bundle the package for various targetsnpm run dev:linting: Lint filesnpm test: Run testsnpm run test:coverage: Run tests and see coverage reports
