Profectus/vue.config.js

18 lines
652 B
JavaScript
Raw Normal View History

module.exports = {
2021-08-28 17:08:14 +00:00
publicPath: process.env.NODE_ENV === "production" ? "./" : "/",
runtimeCompiler: true,
chainWebpack(config) {
config.resolve.alias.delete("@");
config.resolve
.plugin("tsconfig-paths")
// eslint-disable-next-line @typescript-eslint/no-var-requires
.use(require("tsconfig-paths-webpack-plugin"));
2021-08-21 02:13:31 +00:00
// Remove this if/when all "core" code has no non-ignored more type errors
// https://github.com/vuejs/vue-cli/issues/3157#issuecomment-657090338
2021-09-06 00:03:50 +00:00
config.plugins.delete("fork-ts-checker");
2021-08-21 02:13:31 +00:00
},
devServer: {
2022-01-25 04:23:30 +00:00
allowedHosts: "all"
}
};