advent22/ui/vue.config.js

26 lines
651 B
JavaScript
Raw Normal View History

const { defineConfig } = require("@vue/cli-service");
const webpack = require("webpack");
2022-10-28 00:14:20 +00:00
module.exports = defineConfig({
2023-01-24 11:35:57 +00:00
transpileDependencies: true,
devServer: {
host: "localhost",
},
pages: {
index: {
entry: "src/main.ts",
title: "Kalender-Gewinnspiel",
},
},
// https://stackoverflow.com/a/77765007
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
// Vue CLI is in maintenance mode, and probably won't merge my PR to fix this in their tooling
// https://github.com/vuejs/vue-cli/pull/7443
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: "false",
}),
],
},
});