{"name":"@poi/plugin-html-entry","version":"0.2.1","main":"lib/index.js","publishConfig":{"access":"public"},"license":"MIT","dependencies":{"chokidar":"^2.0.4","fs-extra":"^7.0.1","lodash":"^4.17.11","posthtml":"^0.11.3"},"gitHead":"4d8df6481a5eef289aa647a9f463a24745a273b4","description":"This is a built-in Poi plugin which makes Poi support HTML entrypoint.","_id":"@poi/plugin-html-entry@0.2.1","_nodeVersion":"10.16.1","_npmVersion":"lerna/3.16.4/node@v10.16.1+x64 (linux)","dist":{"integrity":"sha512-ebQHAb4EUUY2j+DYUPG8JyTnw9KYuCtFGYGf6cH6K1Ur2gABK7MIZSYFSE2HV519ZhC3NNL652VSF93Z70M8+w==","shasum":"fc54cd8bcef329b55e14ae57ad054f527d565aa3","tarball":"http://registry-npm.ywwl.com/@poi/plugin-html-entry/download/@poi/plugin-html-entry-0.2.1.tgz","fileCount":8,"unpackedSize":14034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTVtWCRA9TVsSAnZWagAAlEAP/A6K/uLgtFLLX+l0zJp5\ntev3/hQNtwmI1vXabKlb3W+9W6PiNu8p/oRy9We/gsQs+YZEwNATzlnKd5f8\nVUml8pCT9tMqv1YbtXgxJEbCKfe9806sJhhBN7qvdf72igdD9jWfEtxi90yl\ndYACjNKoqMuAPd1E4LZQuJ++6JD5kjzFUD636jJJwTxvACeqa7gF70ALdbvV\nXb5Ieqe9bBeHnr63/Is0ztKvPmq1KOBUD/0GyleFyqCbCvD3irWzLikd5JO4\ndKmhc/QdntQ5wRu9E8erEPHBH4G960+sL/aT+Emw8xcpXMkP1JpG1DQFIsAR\n2rE/8E5+4iabFE3yahoLCfRefn/kNjIOHR/txP6021zAB8Zt9nQ93/dBPuGT\nDuf59oQOtdtgD6nPQ7IX4CKbEFRNGG/u0MTjdX14zbOGTJHX/hNK6bdsU8qO\nY8U3gYX75r50388OhErDibiP6f+lp0X4geco1WKC/2ogwYNBlXaFVpKkFzsF\nvSH38/5T/9HpRuRr3AghTQP21AT0f/ajmLKBx6ZotpOPBLGcES5f0u4JGIX9\n3ttW59/eYhnyMbyDJ+NjC4nB1IsLIOH+qrKwkJMzbBxiZUYYtOCiRExZhBBD\nUBhl67vzkFDwuA8yLfc0jB4D3XEv9VHVjB5Iv1lE2Si659VMHMmECiLBtzBz\nlfma\r\n=84U2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUdwTN4HLDPj2H2HyDvoEKM1/hIZ3DY/JUcInqqzbKawIhANPuqc7pqEmWIfhI2jU9t4pWDEIR8CBhd7i26ZjD7l6U"}],"size":5153,"noattachment":false,"key":"/@poi/plugin-html-entry/-/@poi/plugin-html-entry-0.2.1.tgz"},"maintainers":[{"name":"egoist","email":"0x142857@gmail.com"},{"name":"poi-owner","email":"0x142857@gmail.com"},{"name":"rem","email":"shinjisays@gmail.com"}],"_npmUser":{"name":"egoist","email":"0x142857@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-html-entry_0.2.1_1565350741357_0.10872195312728894"},"_hasShrinkwrap":false,"readme":"# @poi/plugin-html-entry\n\nThis is a built-in Poi plugin which makes Poi support HTML entrypoint.\n\n## Features\n\n### Process local scripts and styles\n\n```html\n<link rel=\"stylesheet\" href=\"./style.css\">\n<script src=\"./main.js\"></script>\n```\n\nNote that only relative paths will be processed by webpack, which means you can use absolute paths like `https://...` or `/static/foo.css` to reference external resources.\n\n### Process certain HTML attributes\n\nIt processes certain HTML attributes:\n\n- `<img>`: `src`\n- `<image>`: `xlink:href`\n- `<video>`: `src` `poster`\n- `<source>`: `src`\n\n### Reloading\n\nModifing HTML entry will trigger a full reload.\n\n### Template Interpolations\n\nYour HTML entry will also be processed by [lodash.template](https://lodash.com/docs/4.17.11#template), see [here](https://poi.js.org/guide/custom-html-template.html#template-data) for available template data.\n\n## License\n\nMIT &copy; EGOIST\n","publish_time":1565350741517,"_cnpm_publish_time":1565350741517,"dist-tags":{"canary":"0.2.1-canary.585.f015dbf.0","latest":"0.2.3"}}