Verified Commit 3aa54a83 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Reduced page weight

parent 2037ce00
Pipeline #4231 passed with stages
in 2 minutes and 30 seconds
......@@ -3,7 +3,7 @@
<form @submit.prevent="submit">
<div class="row">
<div class="input-field col s12 l6">
<input v-model="domain" id="domain" placeholder="mastodon.server" type="text" class="validate">
<input v-model="domain" id="domain" placeholder="mastodon.domain" type="text" class="validate">
<label class="active" for="domain">Mastodon domain</label>
</div>
</div>
......
......@@ -4,7 +4,6 @@ import router from './router'
import store from './store'
import "materialize-css/dist/css/materialize.min.css"
import "materialize-css/dist/js/materialize.min.js"
import "material-icons/iconfont/material-icons.css"
Vue.config.productionTip = false
......
const Dotenv = require('dotenv-webpack');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const webpack = require('webpack');
let plugins = [
// do not include moment.js locales since it's quite heavy
new Dotenv(),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
]
if (process.env.BUNDLE_ANALYZE === '1') {
plugins.push(new BundleAnalyzerPlugin())
}
module.exports = {
configureWebpack: {
plugins: [
new Dotenv()
]
plugins: plugins
}
}
......@@ -8338,7 +8338,7 @@ webidl-conversions@^4.0.2:
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==
webpack-bundle-analyzer@^3.3.0:
webpack-bundle-analyzer@^3.3.0, webpack-bundle-analyzer@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.3.2.tgz#3da733a900f515914e729fcebcd4c40dde71fc6f"
integrity sha512-7qvJLPKB4rRWZGjVp5U1KEjwutbDHSKboAl0IfafnrdXMrgC0tOtZbQD6Rw0u4cmpgRN4O02Fc0t8eAT+FgGzA==
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment