Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
  • Gray Fawkes's avatar
    80e95f3d
    0.1 · 80e95f3d
    Gray Fawkes authored
    init: Separate web UI from server Repo
    
    Separate the Web UI repository from the server repository in order to easily maintain both repo separately
    80e95f3d
    History
    0.1
    Gray Fawkes authored
    init: Separate web UI from server Repo
    
    Separate the Web UI repository from the server repository in order to easily maintain both repo separately
vue-loader.conf.js 553 B
'use strict'
const utils = require('./utils')
const config = require('../config')
const isProduction = process.env.NODE_ENV === 'production'
const sourceMapEnabled = isProduction
  ? config.build.productionSourceMap
  : config.dev.cssSourceMap

module.exports = {
  loaders: utils.cssLoaders({
    sourceMap: sourceMapEnabled,
    extract: isProduction
  }),
  cssSourceMap: sourceMapEnabled,
  cacheBusting: config.dev.cacheBusting,
  transformToRequire: {
    video: ['src', 'poster'],
    source: 'src',
    img: 'src',
    image: 'xlink:href'
  }
}