@crxjs/vite-plugin 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +18 -62
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @crxjs/vite-plugin
2
2
 
3
+ ## 1.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - f35c49e: Update READMEs
8
+
3
9
  ## 1.0.9
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,74 +1,30 @@
1
- # [rollup-plugin-chrome-extension](https://www.extend-chrome.dev/rollup-plugin)
1
+ # ![CRXJS](./banner-github.png)
2
2
 
3
- [![npm (scoped)](https://img.shields.io/npm/v/rollup-plugin-chrome-extension/beta.svg)](https://www.npmjs.com/package/rollup-plugin-chrome-extension)
4
- [![GitHub last commit](https://img.shields.io/github/last-commit/crxjs/rollup-plugin-chrome-extension.svg?logo=github)](https://github.com/crxjs/rollup-plugin-chrome-extension)
5
- ![GitHub action badge](https://github.com/crxjs/rollup-plugin-chrome-extension/actions/workflows/vite-plugin.yml/badge.svg)
6
- [![TypeScript Declarations Included](https://img.shields.io/badge/types-TypeScript-informational)](#typescript)
3
+ [![npm (scoped)](https://img.shields.io/npm/v/rollup-plugin-chrome-extension.svg)](https://www.npmjs.com/package/rollup-plugin-chrome-extension)
4
+ [![GitHub last commit](https://img.shields.io/github/last-commit/crxjs/chrome-extension-tools.svg?logo=github)](https://github.com/crxjs/rollup-plugin-chrome-extension)
5
+ ![GitHub action badge](https://github.com/crxjs/chrome-extension-tools/actions/workflows/vite-plugin.yml/badge.svg)
7
6
 
8
- <a href="https://www.extend-chrome.dev/rollup-plugin" rel="noopener">
9
- <img width=200px height=200px src="https://imgur.com/wEXnCYK.png" alt="rollup-plugin-chrome-extension logo"></a>
7
+ ## CRXJS Vite Plugin
10
8
 
11
- The bundler configuration for a Chrome Extension can be pretty complex. This
12
- plugin makes it simple.
9
+ > Build a Chrome Extension with [Vite](https://vitejs.dev)⚡
13
10
 
14
- The manifest is front and center. Import your manifest to your config file and
15
- RPCE will do the rest.
11
+ CRXJS brings the Vite developer experience to Chrome Extensions:
16
12
 
17
- RPCE simplifies project config and supports many of Vite's features in the
18
- Chrome Extension environment, including HMR.
13
+ - True HMR for extension pages and content scripts
14
+ - Simple config - everything is in the extension manifest
15
+ - Static asset imports with automatic web-accessible resources
19
16
 
20
- ## Vite Usage (beta)
17
+ ## Getting Started
21
18
 
22
- Vite support is in beta! Check out this
23
- [90 second getting started guide](https://dev.to/jacksteamdev/create-a-vite-react-chrome-extension-in-90-seconds-3df7).
19
+ See the CRXJS documentation to
20
+ [get started in 90 seconds 🚀](https://crxjs.dev/vite-plugin)
24
21
 
25
- ```sh
26
- npm i rollup-plugin-chrome-extension@beta -D
27
- ```
22
+ ## Supporting
28
23
 
29
- ```javascript
30
- // vite.config.js
31
-
32
- import { defineConfig } from 'vite'
33
- import react from '@vitejs/plugin-react'
34
- import { crx } from 'rollup-plugin-chrome-extension'
35
- import manifest from './manifest.json'
36
-
37
- export default defineConfig({
38
- plugins: [react(), crx({ manifest })],
39
- })
40
- ```
41
-
42
- Just add new features to your manifest, and RPCE does the rest.
43
-
44
- ## [Documentation for v3](https://www.extend-chrome.dev/rollup-plugin)
45
-
46
- We have
47
- [v3 boilerplates](https://www.extend-chrome.dev/rollup-plugin#chrome-extension-boilerplates)
48
- for [React JavaScript](https://github.com/crxjs/js-react-boilerplate),
49
- [React TypeScript](https://github.com/crxjs/ts-react-boilerplate) and
50
- [Svelte](https://github.com/kyrelldixon/svelte-tailwind-extension-boilerplate),
51
- as well as [instructions](https://www.extend-chrome.dev/rollup-plugin#usage) for
52
- setting up your project.
53
-
54
- See the [documentation](https://www.extend-chrome.dev/rollup-plugin) for usage
55
- and how to get started.
24
+ If these plugins have helped you ship your product faster, please consider
25
+ [sponsoring me](https://github.com/sponsors/jacksteamdev) on GitHub.
56
26
 
57
27
  ## Contributing
58
28
 
59
- Your help is super welcome!
60
-
61
- 🎯 Ongoing development is for v4+ only.
62
-
63
- 👀 Be sure to take a look at the issues before starting to work on a new
64
- feature.
65
-
66
- 🙏 Please update the tests to cover bug fixes or new features.
67
-
68
- 📕 Documentation for v4 has not yet begun, but you can open an issue for help.
69
-
70
- ✨ If you enjoy using RPCE, please help spread the word!
71
-
72
- ## Development
73
-
74
- This monorepo uses [pnpm](https://pnpm.io/).
29
+ We encourage pull requests! This is a
30
+ [pnpm monorepo](https://pnpm.io/workspaces), so use pnpm instead of Yarn or npm.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crxjs/vite-plugin",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Build Chrome Extensions with this Vite plugin.",
5
5
  "keywords": [
6
6
  "rollup-plugin",