From ad8664fadb31505c9c848d2f938101b2081dc09f Mon Sep 17 00:00:00 2001 From: LeoQi Date: Wed, 5 Sep 2018 12:31:58 +0800 Subject: repair .gitignore bug JIRA: BOTTLENECK-244 modify testing-scheduler/.gitignore to include the dir: testing-scheduler/ui/build Change-Id: I99ed672bb0e9a2fb2c70feba9a89a699a9ca8455 Signed-off-by: LeoQi --- testing-scheduler/ui/build/vue-loader.conf.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 testing-scheduler/ui/build/vue-loader.conf.js (limited to 'testing-scheduler/ui/build/vue-loader.conf.js') diff --git a/testing-scheduler/ui/build/vue-loader.conf.js b/testing-scheduler/ui/build/vue-loader.conf.js new file mode 100644 index 00000000..33ed58bc --- /dev/null +++ b/testing-scheduler/ui/build/vue-loader.conf.js @@ -0,0 +1,22 @@ +'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' + } +} -- cgit 1.2.3-korg