const webpack = require('webpack')

module.exports = {
	configureWebpack: {
		devtool: 'source-map',
		plugins: [
			new webpack.DefinePlugin({
				'process.env': {
					PACKAGE_JSON: '"' + escape(JSON.stringify(require('./package.json'))) + '"'
				}
			}),
			new webpack.IgnorePlugin(/^\.\/locale\/(en|fr)\.js$/, /moment$/)
		]
	},

	pwa: {
		name: 'Emmanuel Béziat',
		themeColor: '#233238',
		msTileColor: '#233238',
		appleMobileWebAppCapable: 'no',
		appleMobileWebAppStatusBarStyle: 'white',
		manifestPath: 'favicons/site.webmanifest',
		iconPaths: {
			favicon32: 'favicons/favicon-32x32.png',
			favicon16: 'favicons/favicon-16x16.png',
			appleTouchIcon: 'favicons/apple-touch-icon-152x152.png',
			maskIcon: 'favicons/safari-pinned-tab.svg',
			msTileImage: 'favicons/msapplication-icon-144x144.png'
		}
	},

	outputDir: '../site',
	devServer: {
		port: 3033
	}
}

@@ -375,31 +375,24 @@
 hemeColor: '
-#233238
 ',%0A%09%09msTileC
@@ -402,15 +402,8 @@
 r: '
-#233238
 ',%0A%09
@@ -430,18 +430,16 @@
 pable: '
-no
 ',%0A%09%09app
@@ -473,13 +473,8 @@
 e: '
-white
 ',%0A%09
@@ -493,306 +493,25 @@
 h: '
-favicons/site.webmanifest',%0A%09%09iconPaths: %7B%0A%09%09%09favicon32: 'favicons/favicon-32x32.png',%0A%09%09%09favicon16: 'favicons/favicon-16x16.png',%0A%09%09%09appleTouchIcon: 'favicons/apple-touch-icon-152x152.png',%0A%09%09%09maskIcon: 'favicons/safari-pinned-tab.svg',%0A%09%09%09msTileImage: 'favicons/msapplication-icon-144x144.png'%0A%09%09
+',%0A%09%09iconPaths: %7B
 %7D%0A%09%7D

test disable