Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 658 B |
@ -0,0 +1,11 @@
|
||||
@charset "utf-8";
|
||||
|
||||
$primary: 'indigo';
|
||||
|
||||
@import "base/variables";
|
||||
@import "base/material";
|
||||
@import "base/reset";
|
||||
@import "base/mixins";
|
||||
@import "base/fonts";
|
||||
@import "base/icons";
|
||||
@import "base/base";
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1018 B After Width: | Height: | Size: 1018 B |
Before Width: | Height: | Size: 872 B After Width: | Height: | Size: 872 B |
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 587 B After Width: | Height: | Size: 587 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,75 @@
|
||||
const path = require('path')
|
||||
const _ = require('lodash')
|
||||
const SpriteLoaderPlugin = require('svg-sprite-loader/plugin')
|
||||
|
||||
module.exports = {
|
||||
entry: 'client/index.js',
|
||||
dist: 'assets',
|
||||
staticFolder: 'client/static',
|
||||
filename: {
|
||||
js: 'js/[name].js',
|
||||
css: 'css/bundle.css',
|
||||
images: 'images/[name].[ext]',
|
||||
fonts: 'fonts/[name].[ext]',
|
||||
chunk: 'js/[name].chunk.js'
|
||||
},
|
||||
autoprefixer: {
|
||||
browsers: [
|
||||
'last 6 Chrome major versions',
|
||||
'last 6 Firefox major versions',
|
||||
'last 4 Safari major versions',
|
||||
'last 4 Edge major versions',
|
||||
'last 3 iOS major versions',
|
||||
'last 3 Android major versions',
|
||||
'last 2 ChromeAndroid major versions',
|
||||
'Explorer 11'
|
||||
]
|
||||
},
|
||||
html: false,
|
||||
hash: false,
|
||||
sourceMap: true,
|
||||
extendWebpack (config) {
|
||||
// Vue - Default SCSS Imports
|
||||
config.module.rule('vue')
|
||||
.use('vue-loader')
|
||||
.tap(opts => {
|
||||
opts.loaders.scss.push({
|
||||
loader: 'sass-resources-loader',
|
||||
options: {
|
||||
resources: path.join(__dirname, './client/scss/global.scss')
|
||||
}
|
||||
})
|
||||
return opts
|
||||
})
|
||||
|
||||
// SVG Loader
|
||||
config.module.rule('svg')
|
||||
.exclude.add(path.join(__dirname, './client/svg')).end()
|
||||
.use('file-loader')
|
||||
.tap(opts => {
|
||||
opts.name = '[name].[ext]'
|
||||
opts.outputPath = 'svg/'
|
||||
return opts
|
||||
})
|
||||
config.module.rule('svgSymbols')
|
||||
.include.add(path.join(__dirname, './client/svg')).end()
|
||||
.use('raw-loader')
|
||||
.loader('raw-loader')
|
||||
|
||||
// config.module.rule('svg').uses.delete('file-loader')
|
||||
// config.module.rule('svg')
|
||||
// .use('svg-sprite-loader')
|
||||
// .loader('svg-sprite-loader', {
|
||||
// extract: true,
|
||||
// spriteFilename: 'svg/symbols.svg'
|
||||
// })
|
||||
// config.plugin('svg-sprite-loader')
|
||||
// .use(SpriteLoaderPlugin)
|
||||
|
||||
// Vue with Compiler Alias
|
||||
config.resolve.alias.set('vue$', 'vue/dist/vue.common.js')
|
||||
},
|
||||
webpack (config) {
|
||||
return config
|
||||
}
|
||||
}
|