From f7e5f902a97dc7bb551eb45187d9b34252c7b2a7 Mon Sep 17 00:00:00 2001 From: Troplo Date: Sat, 10 Apr 2021 18:11:19 +1000 Subject: [PATCH] Delete 'vue.config.js' --- vue.config.js | 60 --------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 vue.config.js diff --git a/vue.config.js b/vue.config.js deleted file mode 100644 index 60c4a5a..0000000 --- a/vue.config.js +++ /dev/null @@ -1,60 +0,0 @@ -const Dotenv = require('dotenv-webpack'); -var WebpackAutoInject = require('webpack-auto-inject-version'); - -module.exports = { - devServer: { - proxy: 'http://localhost:23981', - disableHostCheck: true, // dev.kaverti.flowinity - }, - - publicPath: '/', - productionSourceMap: false, - - configureWebpack: { - plugins: [ - new Dotenv(), - new WebpackAutoInject({ - // specify the name of the tag in the outputed files eg - // bundle.js: [SHORT] Version: 0.13.36 ... - SHORT: 'Version: 1.0.0-prerelease5', - SILENT: false, - PACKAGE_JSON_PATH: './package.json', - PACKAGE_JSON_INDENT: 4, - components: { - AutoIncreaseVersion: true, - InjectAsComment: true, - InjectByTag: true - }, - componentsOptions: { - AutoIncreaseVersion: { - runInWatchMode: false // it will increase version with every single build! - }, - InjectAsComment: { - tag: 'Version: {version} - {date}', - dateFormat: 'h:MM:ss TT', // change timezone: `UTC:h:MM:ss` or `GMT:h:MM:ss` - multiLineCommentType: false, // use `/** */` instead of `//` as comment block - }, - InjectByTag: { - fileRegex: /\.+/, - // regexp to find [AIV] tag inside html, if you tag contains unallowed characters you can adjust the regex - // but also you can change [AIV] tag to anything you want - AIVTagRegexp: /(\[AIV])(([a-zA-Z{} ,:;!()_@\-"'\\\/])+)(\[\/AIV])/g, - dateFormat: 'h:MM:ss TT' - } - }, - LOGS_TEXT: { - AIS_START: 'Kaverti AIV started' - } - }) - ] - }, - - pluginOptions: { - i18n: { - locale: 'en', - fallbackLocale: 'debug', - localeDir: 'locales', - enableInSFC: false - } - } -}