From 918d6240f28875d5af12aed9b97b7148fec9a343 Mon Sep 17 00:00:00 2001 From: Kyle Muchmore Date: Thu, 8 Oct 2020 21:00:51 -0600 Subject: [PATCH] converted spaces to tabs in vue.config.js --- .../vue3-full/frontend/vue.config.js | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/cmd/templates/vue3-full/frontend/vue.config.js b/cmd/templates/vue3-full/frontend/vue.config.js index a2691b1f..d09bb70b 100644 --- a/cmd/templates/vue3-full/frontend/vue.config.js +++ b/cmd/templates/vue3-full/frontend/vue.config.js @@ -1,42 +1,42 @@ let cssConfig = {}; if (process.env.NODE_ENV == "production") { - cssConfig = { - extract: { - filename: "[name].css", - chunkFilename: "[name].css" - } - }; + cssConfig = { + extract: { + filename: "[name].css", + chunkFilename: "[name].css" + } + }; } module.exports = { - chainWebpack: config => { - let limit = 9999999999999999; - config.module - .rule("images") - .test(/\.(png|gif|jpg)(\?.*)?$/i) - .use("url-loader") - .loader("url-loader") - .tap(options => Object.assign(options, { limit: limit })); - config.module - .rule("fonts") - .test(/\.(woff2?|eot|ttf|otf|svg)(\?.*)?$/i) - .use("url-loader") - .loader("url-loader") - .options({ - limit: limit - }); - }, - css: cssConfig, - configureWebpack: { - output: { - filename: "[name].js" - }, - optimization: { - splitChunks: false - } - }, - devServer: { + chainWebpack: config => { + let limit = 9999999999999999; + config.module + .rule("images") + .test(/\.(png|gif|jpg)(\?.*)?$/i) + .use("url-loader") + .loader("url-loader") + .tap(options => Object.assign(options, { limit: limit })); + config.module + .rule("fonts") + .test(/\.(woff2?|eot|ttf|otf|svg)(\?.*)?$/i) + .use("url-loader") + .loader("url-loader") + .options({ + limit: limit + }); + }, + css: cssConfig, + configureWebpack: { + output: { + filename: "[name].js" + }, + optimization: { + splitChunks: false + } + }, + devServer: { disableHostCheck: true - } + } };