Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @web/rollup-plugin-import-meta-assets with all npm packages installed. Try it out:

var rollupPluginImportMetaAssets = require("@web/rollup-plugin-import-meta-assets")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@web/rollup-plugin-import-meta-assets v2.2.0

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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free