Make SharedWorker works like Remote Procedure Call easily. Latest version: 0.2.0, last published: a year ago. Start using vite-plugin-sharedworker in your project by running `npm i vite-plugin-sharedworker`. There are no other projects in the npm registr
Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 8.19.2 - /opt/homebrew/bin/npm Watchman: 2022.10.24.00 - /opt/homebrew/bin/watchman Browsers: Chrome: 108.0.5359.98 Edge: 108.0.1462.46 Firefox: 105.0.3 Safari: 16.1 npmPackages: @vitejs/plugin-react-swc: ^3.0.0 =>3.0.0 vite: ^4.0.1 =...
code ELIFECYCLE npm ERR! errno 2 npm ERR! vite-project@0.0.0 build: `vue-tsc --noEmit && vite build` npm ERR! Exit status 2 Here are the steps I did. The first thing I did was to install the Vite plugin: npm i vite-plugin-pwa -D then to the vite.config.ts...
npm install --save-dev @iodigital/vite-plugin-msw#yarn add --dev @iodigital/vite-plugin-msw#pnpm add --save-dev @iodigital/vite-plugin-msw Define mocks https://mswjs.io/docs/getting-started/mocks Add to Vite config // Import pluginimportmswfrom"@iodigital/vite-plugin-msw";// Import...
Describe the bug I am using devOptions to enable service worker in dev mode. When I start the app using npm start, service worker file is not found VitePWA({ injectRegister: null, strategies:'injectManifest', filename:'service-worker.ts'...
RUN pnpm config set registry https://registry.npmmirror.com # RUN pnpm config set registry https://registry.npmmirror.com RUN pnpm install # 构建项目 COPY ./ $PROJECT_DIR RUN rm -rf .env.* && pnpm build ENV VITE_BASE_URL=/ RUN pnpm build FROM nginx:alpine as production ARG PROJECT_...