更改build的設

main
Wayne Hsu 3 years ago
parent d0e222a1e2
commit b24e5bbccf

@ -1,6 +1,6 @@
NODE_ENV = development
NODE_ENV = production
VUE_ENV = u168
VUE_ENV = slash
VUE_APP_LINE_LIFF_ID = 1656907652-VJq33Pdg

@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="./css/flex2html.css">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="stylesheet" href="<%= BASE_URL %>css/flex2html.css">
<title><%= htmlWebpackPlugin.options.title %></title>
<style>
[v-cloak] {
@ -19,6 +19,6 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="./js/flex2html.min.js"></script>
<script src="<%= BASE_URL %>js/flex2html.min.js"></script>
</body>
</html>

@ -6,7 +6,7 @@ module.exports = {
? "/card"
: "/card",
outputDir:
["production", "u168", "slash"].includes(process.env.VUE_ENV)
["production", "u168"].includes(process.env.VUE_ENV)
? "../api/public/card"
: "./dist",
};

Loading…
Cancel
Save