├── .github └── workflows │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── plugin ├── package.json ├── pnpm-global │ └── 5 │ │ └── pnpm-lock.yaml ├── rollup.config.js ├── src │ ├── index.ts │ ├── rwc.ts │ ├── utils │ │ ├── index.ts │ │ ├── react.ts │ │ └── viteWorker.ts │ ├── vite.ts │ └── vite │ │ ├── handleImports.ts │ │ ├── registerComponents.ts │ │ ├── workerComponent.ts │ │ └── workerFile.ts └── tsconfig.json ├── pnpm-global └── 5 │ └── pnpm-lock.yaml ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── test ├── utils.ts └── vite │ ├── App.tsx │ ├── Hello.worker.tsx │ ├── TextBox.tsx │ ├── basic.test.tsx │ ├── index.html │ ├── main.tsx │ ├── package.json │ ├── tsconfig.json │ └── vite.config.ts └── tsconfig.json /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/package.json -------------------------------------------------------------------------------- /plugin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/package.json -------------------------------------------------------------------------------- /plugin/pnpm-global/5/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/pnpm-global/5/pnpm-lock.yaml -------------------------------------------------------------------------------- /plugin/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/rollup.config.js -------------------------------------------------------------------------------- /plugin/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/index.ts -------------------------------------------------------------------------------- /plugin/src/rwc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/rwc.ts -------------------------------------------------------------------------------- /plugin/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/utils/index.ts -------------------------------------------------------------------------------- /plugin/src/utils/react.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/utils/react.ts -------------------------------------------------------------------------------- /plugin/src/utils/viteWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/utils/viteWorker.ts -------------------------------------------------------------------------------- /plugin/src/vite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/vite.ts -------------------------------------------------------------------------------- /plugin/src/vite/handleImports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/vite/handleImports.ts -------------------------------------------------------------------------------- /plugin/src/vite/registerComponents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/vite/registerComponents.ts -------------------------------------------------------------------------------- /plugin/src/vite/workerComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/vite/workerComponent.ts -------------------------------------------------------------------------------- /plugin/src/vite/workerFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/src/vite/workerFile.ts -------------------------------------------------------------------------------- /plugin/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/plugin/tsconfig.json -------------------------------------------------------------------------------- /pnpm-global/5/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/pnpm-global/5/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /test/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/utils.ts -------------------------------------------------------------------------------- /test/vite/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/App.tsx -------------------------------------------------------------------------------- /test/vite/Hello.worker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/Hello.worker.tsx -------------------------------------------------------------------------------- /test/vite/TextBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/TextBox.tsx -------------------------------------------------------------------------------- /test/vite/basic.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/basic.test.tsx -------------------------------------------------------------------------------- /test/vite/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/index.html -------------------------------------------------------------------------------- /test/vite/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/main.tsx -------------------------------------------------------------------------------- /test/vite/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/package.json -------------------------------------------------------------------------------- /test/vite/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/tsconfig.json -------------------------------------------------------------------------------- /test/vite/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/test/vite/vite.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslemammad/react-worker-components-plugin/HEAD/tsconfig.json --------------------------------------------------------------------------------