From 73e6916dfb4956e733be0542bb3f8bf87fd89925 Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期五, 12 九月 2025 17:16:07 +0800
Subject: [PATCH] 起落架DNC初始化代码

---
 build/vue-loader.conf.js |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/build/vue-loader.conf.js b/build/vue-loader.conf.js
new file mode 100644
index 0000000..2a14fa1
--- /dev/null
+++ b/build/vue-loader.conf.js
@@ -0,0 +1,23 @@
+'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',
+    source: 'src',
+    img: 'src',
+    image: 'xlink:href'
+  }
+};

--
Gitblit v1.9.3