-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
33 lines (32 loc) · 929 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
'use strict'
module.exports = {
port: 4000,
title: 'Stuck: Your recently played tracks on Spotify',
// When you use electron please set to relative path like ./
// otherwise only set to absolute path when you're using history mode
publicPath: '/',
// Disable babelrc by default
babel: {
babelrc: false,
presets: ['vue-app'],
},
postcss: [
// Add prefix via postcss since it's faster
require('autoprefixer')({
// Vue does not support ie 8 and below
browsers: ['last 2 versions', 'ie > 8'],
}),
require('postcss-nested'),
require('postcss-utilities')(),
require('postcss-custom-media')({
extensions: {
'--phone': '(min-width: 544px)',
'--tablet': '(min-width: 768px)',
'--max': '(min-width: 1024px)',
'--desktop': '(min-width: 992px)',
'--large-desktop': '(min-width: 1200px)',
},
}),
],
cssModules: true,
}