How to use the sapper/webpack/config.js.serviceworker function in sapper

To help you get started, we’ve selected a few sapper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SamsungInternet / SamsungBluetoothWiFiManager / webapp / webpack / service-worker.config.js View on Github external
const config = require('sapper/webpack/config.js');

module.exports = {
	entry: config.serviceworker.entry(),
	output: config.serviceworker.output(),
	mode: process.env.NODE_ENV
};
github timhall / svelte-apollo / example / webpack / service-worker.config.js View on Github external
const config = require('sapper/webpack/config.js');

module.exports = {
  entry: config.serviceworker.entry(),
  output: config.serviceworker.output(),
  mode: process.env.NODE_ENV
};
github SamsungInternet / SamsungBluetoothWiFiManager / webapp / webpack / service-worker.config.js View on Github external
const config = require('sapper/webpack/config.js');

module.exports = {
	entry: config.serviceworker.entry(),
	output: config.serviceworker.output(),
	mode: process.env.NODE_ENV
};
github timhall / svelte-apollo / example / webpack / service-worker.config.js View on Github external
const config = require('sapper/webpack/config.js');

module.exports = {
  entry: config.serviceworker.entry(),
  output: config.serviceworker.output(),
  mode: process.env.NODE_ENV
};