UNPKG

@web/rollup-plugin-import-meta-assets

Version:

Rollup plugin that detects assets references relative to modules using patterns such as `new URL('./path/to/asset.ext', import.meta.url)`. The assets are added to the rollup pipeline, allowing them to be transformed and hash the filenames.

1 lines 257 B
{"version":3,"file":"rollup-plugin-import-meta-assets.d.ts","sourceRoot":"","sources":["../src/rollup-plugin-import-meta-assets.js"],"names":[],"mappings":"AA0DA;;;;;;;;;;;GAWG;AACH;IANqC,OAAO;IACP,OAAO;IACf,WAAW;IACV,SAAS;IAC3B,OAAO,QAAQ,EAAE,MAAM,CA0IlC"}