module.exports = {
	'lintOnSave': false,

	devServer: {
		// Route requests to unknown URLs to the backend (can be JSON server or Spring)
		proxy: {
			'/api': { target: 'http://localhost:1607/' },
			// TODO: check if we can refine the mapping to just take the files (something like /images/:id/file/)
			'/images': { target: 'http://localhost:1607/' }
		}
	},

	'pluginOptions': {
		'i18n': {
			'locale': 'en',
			'fallbackLocale': 'en',
			'localeDir': 'locales',
			'enableInSFC': false
		},
		'webpackBundleAnalyzer': {
			'openAnalyzer': false
		}
	},
	'transpileDependencies': [
		'vuetify'
	]
}

module.exports = {
	'lintOnSave': false,

	devServer: {
		// Route requests to unknown URLs to the backend (can be JSON server or Spring)
		proxy: {
			'/api': { target: 'http://localhost:1607/' },
			'^/images/.*/file/.*': { target: 'http://localhost:1607/' }
		}
	},

	'pluginOptions': {
		'i18n': {
			'locale': 'en',
			'fallbackLocale': 'en',
			'localeDir': 'locales',
			'enableInSFC': false
		},
		'webpackBundleAnalyzer': {
			'openAnalyzer': false
		}
	},
	'transpileDependencies': [
		'vuetify'
	]
}

Improve the mapping for the image backend
Improve the mapping for the image backend

The old mapping would have prevented the regular image pages from working later.

Refs #78
