mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ Make the rename-layers-plugin work correctly on subpath
This commit is contained in:
parent
f6259708ca
commit
87488f4a98
@ -304,6 +304,7 @@
|
|||||||
"assets": [
|
"assets": [
|
||||||
"apps/rename-layers-plugin/src/_headers",
|
"apps/rename-layers-plugin/src/_headers",
|
||||||
"apps/rename-layers-plugin/src/favicon.ico",
|
"apps/rename-layers-plugin/src/favicon.ico",
|
||||||
|
"apps/rename-layers-plugin/src/manifest.json",
|
||||||
"apps/rename-layers-plugin/src/assets"
|
"apps/rename-layers-plugin/src/assets"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
|
|||||||
@ -7,9 +7,9 @@
|
|||||||
"build": "ng build rename-layers-plugin && pnpm run build:plugin",
|
"build": "ng build rename-layers-plugin && pnpm run build:plugin",
|
||||||
"build:dev": "ng build rename-layers-plugin --configuration development",
|
"build:dev": "ng build rename-layers-plugin --configuration development",
|
||||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin",
|
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin",
|
||||||
"build:plugin:watch": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin --watch",
|
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=rename-layers-plugin --watch",
|
||||||
"serve": "ng serve rename-layers-plugin",
|
"serve": "ng serve rename-layers-plugin",
|
||||||
"init": "concurrently --kill-others --names plugin,serve \"pnpm run build:plugin:watch\" \"pnpm run serve\"",
|
"init": "concurrently --kill-others --names plugin,serve \"pnpm run watch\" \"pnpm run serve\"",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>rename-layers-plugin</title>
|
<title>rename-layers-plugin</title>
|
||||||
<base href="/" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
8
plugins/apps/rename-layers-plugin/src/manifest.json
Normal file
8
plugins/apps/rename-layers-plugin/src/manifest.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "Rename layers plugin",
|
||||||
|
"description": "Change the name of one or several layers",
|
||||||
|
"version": 2,
|
||||||
|
"code": "assets/plugin.js",
|
||||||
|
"icon": "assets/icon.png",
|
||||||
|
"permissions": ["content:read", "content:write"]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user