Closed promethyttrium closed 2 years ago
@promethyttrium For now, add "type": "module"
to the package.json
file:
{
"name": "vite-template-solid",
+ "type": "module",
"version": "0.0.0",
"description": "",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"license": "MIT",
"devDependencies": {
"@crxjs/vite-plugin": "^2.0.0-beta.4",
"typescript": "^4.8.2",
"vite": "^3.0.9",
"vite-plugin-solid": "^2.3.0"
},
"dependencies": {
"solid-js": "^1.5.1"
}
}
I've added the "type": "module"
tip to the docs.
Build tool
Vite
Where do you see the problem?
Describe the bug
Just following the example as documented here for Typescript
https://crxjs.dev/vite-plugin/getting-started/solid/create-project
Reproduction
vite.config.ts
packages.json
manifest.json
Logs
System Info
Severity
blocking all usage of RPCE