-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
41 lines (38 loc) · 985 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const { VuetifyPlugin } = require('webpack-plugin-vuetify');
const { defineConfig } = require("@vue/cli-service")
const webpack = require("webpack");
const path = require("path");
module.exports = defineConfig({
publicPath: "./",
configureWebpack: {
plugins: [
new VuetifyPlugin(),
new webpack.DefinePlugin({
// https://github.com/vuejs/vue-cli/pull/7443
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: 'false',
})
],
resolve: {
alias: {
vue: path.resolve("./node_modules/vue")
}
},
module: {
rules: [
{
test: /\.csv/,
type: "asset/source"
}
]
}
},
// Needed for BrowserStack/Safari testing as of 2023 March. This makes the
// dev server insecure, but that's OK since we only use it in controlled
// circumstances. https://stackoverflow.com/questions/43619644
devServer: {
allowedHosts: 'all',
client: {
overlay: false
}
}
});