Comments (7)
I don't know if that's what you asking for but if you want to import things into background/index.js try adding this to manifest.ts:
background: { service_worker: "src/pages/background/index.js", type: "module" },
from chrome-extension-boilerplate-react-vite.
Thank you for your contribution. We will check and reply to you as soon as possible.
from chrome-extension-boilerplate-react-vite.
have more informations?
from chrome-extension-boilerplate-react-vite.
any progress?
from chrome-extension-boilerplate-react-vite.
번들링된 패키지모듈
이라는 부분이 잘 이해가 되지 않아 상황에 대한 추가적인 정보를 요청드려도 될까요?
단순히 코드를 복사해서 붙여넣기했다면 동작하지 않을 이유가 없는데, 외부 의존성을 가져오는 부분에서 문제가 생겼다는 말씀이실까요?
from chrome-extension-boilerplate-react-vite.
background에 import한 파일 안에 다른 import 구문을 사용한 경우 t is not defined 와 같은 에러가 발생합니다. 아마 이건 크롬 익스텐션 규칙 자체의 문제 아닐까요?
from chrome-extension-boilerplate-react-vite.
Close the issue for no further information.
from chrome-extension-boilerplate-react-vite.
Related Issues (20)
- vite preloadhelper shouldn't be using import statement HOT 9
- Add Mantien UI example integration HOT 4
- Cannot load the extension due to Content Script which is generated in wrong path HOT 1
- enabling source maps results in warning from inline-vite-preload-script.ts HOT 4
- Uncaught SyntaxError: Cannot use 'import.meta' outside a module HOT 1
- Files nested inside content/content-script doesn't auto reload on browser HOT 4
- Chakra styles are not loaded on injected content script HOT 2
- rollup packaging speed optimization HOT 1
- [Question] 각 페이지의 역할에 대해 궁금합니다! Wondering about the role of each page! HOT 5
- Boilerplate Redesign HOT 2
- HMR does not work on Content Scripts Change HOT 4
- Is there any way to use React Developer Tools for debugging my extension? HOT 5
- Why the document default language is Korean? HOT 2
- Chakra UI Components Not Rendering HOT 3
- Consider using crxjs HOT 1
- Filename contains the word `content` will prevent import module HOT 1
- ReferenceError: chrome is not defined HOT 2
- Rollup module issue on 'pnpm dev' HOT 1
- Page variables and plug -in variable conflict HOT 2
- Add unocss example integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-extension-boilerplate-react-vite.