mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 17:57:36 +08:00
This update contains the same fix as we had locally applied in https://crrev.com/c/2939994/4/node_modules/%2540web/rollup-plugin-import-meta-assets/src/rollup-plugin-import-meta-assets.js R=aerotwist@chromium.org Bug: 1216402 Change-Id: Ie8cabe55a1beac1c06c25c73d43b6f00fac12732 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2951129 Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "@web/rollup-plugin-import-meta-assets",
|
|
"version": "1.0.7",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"description": "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.",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/modernweb-dev/web.git",
|
|
"directory": "packages/rollup-plugin-import-meta-assets"
|
|
},
|
|
"author": "modern-web",
|
|
"homepage": "https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-import-meta-assets",
|
|
"main": "src/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.mjs",
|
|
"require": "./src/index.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run test:node",
|
|
"test:node": "mocha test/**/*.test.js test/*.test.js",
|
|
"test:update-snapshots": "mocha test/**/*.test.js test/*.test.js --update-snapshots",
|
|
"test:watch": "npm run test:node -- --watch"
|
|
},
|
|
"files": [
|
|
"*.js",
|
|
"*.mjs",
|
|
"dist",
|
|
"src"
|
|
],
|
|
"keywords": [
|
|
"rollup",
|
|
"plugin",
|
|
"import-meta"
|
|
],
|
|
"dependencies": {
|
|
"@rollup/pluginutils": "^4.1.0",
|
|
"estree-walker": "^2.0.2",
|
|
"magic-string": "^0.25.7"
|
|
},
|
|
"types": "dist/index"
|
|
}
|