flat-state-13182
06/13/2022, 3:31 PMflat-state-13182
06/13/2022, 3:31 PM npm run dev  INT ✘
> test-extension@1.0.0 dev
> plasmo dev
🟣 Plasmo v0.42.2
🟠The browser extension development framework.
🔵 INFO | Starting the extension development server...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
🔴 ERROR | Failed to resolve './gen-assets/icon16.png' from './.plasmo/manifest.json'
| {
"manifest_version": 3,
"icons": {
"16": "./gen-assets/icon16.png",
"48": "./gen-assets/icon48.png",
"128": "./gen-assets/icon128.png"
},
"action": {
"default_icon": {
"16": "./gen-assets/icon16.png",
"48": "./gen-assets/icon48.png"
}
},
"version": "1.0.0",
"name": "Test Extension",
"description": "This is a test",
"author": "me",
"content_scripts": [
{
"matches": [
"https://www.plasmo.com/*"
],
"js": [
"static/contents/ranker-overlay.tsx"
]
}
],
"permissions": [],
"host_permissions": [
"https://*/*"
],
"content_security_policy": {
"extension_pages": "default-src 'self';style-src 'unsafe-inline' fonts.googleapis.com;font-src 'unsafe-inline' fonts.gstatic.com"
}
}
| /home/kuro/new-chrome-extension/.plasmo/manifest.json:10:13
🔴 ERROR | Cannot load file './gen-assets/icon16.png' in './.plasmo'.
flat-state-13182
06/13/2022, 3:31 PMicon512.png
file in the assets folder, so I assume that nothing should be generatedflat-state-13182
06/13/2022, 3:47 PM/src
folder and moved the assets inside, when the documentation says that it will only recognize .ts
and .tsx
files, so it still searches for an asset folder in the root of the project