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.

4 lines (3 loc) 134 B
/* eslint-disable @typescript-eslint/ban-ts-comment */ // @ts-nocheck module.exports = require('./rollup-plugin-import-meta-assets');