All Projects → dahnielson → parcel-plugin-workbox

dahnielson / parcel-plugin-workbox

Licence: MIT license
🛠️ A plugin for Parcel to generate a service worker with Workbox.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to parcel-plugin-workbox

Vite Plugin Pwa
Zero-config PWA for Vite
Stars: ✭ 209 (+1061.11%)
Mutual labels:  workbox
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+24588.89%)
Mutual labels:  serviceworker
svelte-box
A truffle box for svelte
Stars: ✭ 60 (+233.33%)
Mutual labels:  parcel-bundler
OneSignal-Codeigniter-Push-Notification
OneSignal is a free push notification service for web and mobile apps. This Codeigniter example makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com/ DEMO - http://ci3onesignal.codefort.ru/
Stars: ✭ 27 (+50%)
Mutual labels:  serviceworker
routemap
DEPRECATED Returns a list of Craft/Vue/React route rules and entry & asset URLs for ServiceWorkers from Craft entries
Stars: ✭ 27 (+50%)
Mutual labels:  serviceworker
productive-cycles-webext
Simple-yet-complete Pomodoro timer for Firefox and Google Chrome. Built with the WebExtensions API and React.
Stars: ✭ 17 (-5.56%)
Mutual labels:  parcel-bundler
Pwatter
Angular Progressive Web App using Workbox
Stars: ✭ 167 (+827.78%)
Mutual labels:  workbox
parcel-plugin-nim
Nim asset for Parcel
Stars: ✭ 21 (+16.67%)
Mutual labels:  parcel-bundler
light-push-admin
推送服务控制台界面
Stars: ✭ 28 (+55.56%)
Mutual labels:  serviceworker
parcel-plugin-markdown-string
📦@parcel-bundler plugin for loader markdown string, markdown output HTML.
Stars: ✭ 19 (+5.56%)
Mutual labels:  parcel-bundler
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+77.78%)
Mutual labels:  serviceworker
craft-routemap
Returns a list of Craft/Vue/React route rules and element URLs for ServiceWorkers from Craft entries
Stars: ✭ 30 (+66.67%)
Mutual labels:  serviceworker
is-pwa-ready
Tracking the status of PWA in Chinese browser
Stars: ✭ 35 (+94.44%)
Mutual labels:  serviceworker
So Pwa
A progressive web app to read Stack Overflow content.
Stars: ✭ 235 (+1205.56%)
Mutual labels:  workbox
boilerplate-react-redux-pwa
It's sample boilerplate with pwa + react + redux + redux-saga
Stars: ✭ 14 (-22.22%)
Mutual labels:  workbox
Polymer Skeleton
💀 Skeleton for Polymer 3 app with Webpack, PostCSS and Service Workers ready.
Stars: ✭ 185 (+927.78%)
Mutual labels:  workbox
react-redux-boilerplate
A React boilerplate based on Redux, React Router, styled components and Parcel
Stars: ✭ 62 (+244.44%)
Mutual labels:  parcel-bundler
chicio.github.io
👻 Fabrizio Duroni (me 😄) personal website. Created using GatsbyJS, Styled Components, Storybook, Typescript, tsParticles, GitHub pages, Github Actions, Upptime.
Stars: ✭ 20 (+11.11%)
Mutual labels:  workbox
speedy-math
An application which allows user (small kids) to practice basic Mathematics operations
Stars: ✭ 28 (+55.56%)
Mutual labels:  workbox
parcel-plugin-externals
Parcel plugin for declaring externals. These externals will not be bundled. 📦
Stars: ✭ 47 (+161.11%)
Mutual labels:  parcel-bundler

parcel-plugin-workbox

Travis CI badge Greenkeeper badge Standard JS badge

A plugin for Parcel to generate a service worker with Workbox.

Install

You can either install by running yarn (recommended)

yarn add parcel-plugin-workbox --dev

or use npm

npm install parcel-plugin-workbox --save-dev

Usage

When you build resources with Parcel, the plugin will generate a service worker sw.js and insert it into your project's index.html entry file.

You can customize the settings by adding a workbox section to your package.json.

"workbox": {
  importScripts: ['./worker.js'],           // scripts to import into `sw.js`
  globDirectory: './dist',                  // directory to cache (usually output dir)
  globPatterns: [                           // file types to include
  '**/*.{css,html,gif,js,jpg,png,svg,webp}'
}

Workbox requires at least one import script to be defined. By default, a worker.js file, where you can write the logic for your service worker, will be read from your project's root directory and imported into sw.js unless you change this setting. Additionally, a CDN version of Google Workbox is imported automatically.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].