Time tracking you can host anywhere, built on Django. Full export support in multiple formats and easily extensible.
djangodockerhandcodedpythonself-hostedtime-trackingtimetracker
1const path = require("path");
2
3const VueLoaderPlugin = require("vue-loader/lib/plugin");
4const MiniCssExtractPlugin = require("mini-css-extract-plugin");
5
6module.exports = {
7 mode: "production",
8 entry: "./client/static_src/main.js",
9 output: {
10 path: path.resolve(__dirname, "client/static/"),
11 filename: "bundle.js"
12 },
13 watch: false,
14 watchOptions: {
15 ignored: /node_modules/
16 },
17 performance: {
18 hints: false,
19 maxEntrypointSize: 5000000,
20 maxAssetSize: 5000000
21 },
22 stats: {
23 children: false,
24 entrypoints: false,
25 hash: false,
26 modules: false,
27 version: false
28 },
29 devtool: "source-map",
30 resolve: {
31 alias: {
32 vue$: "vue/dist/vue.esm.js",
33 picker: "pickadate/lib/picker.js",
34 "picker-date": "pickadate/lib/picker.date.js"
35 }
36 },
37 plugins: [
38 new VueLoaderPlugin(),
39 new MiniCssExtractPlugin({
40 filename: "bundle.css"
41 })
42 ],
43 module: {
44 rules: [
45 {
46 test: /\.vue$/,
47 loader: "vue-loader"
48 },
49 {
50 test: /\.js$/,
51 loader: "babel-loader",
52 exclude: /node_modules/
53 },
54 {
55 test: /\.(sc|c)ss$/,
56 loaders: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"]
57 },
58 {
59 test: /\.(png|jpg|gif|svg|ico)$/,
60 loader: "file-loader",
61 options: {
62 name: "[name].[ext]",
63 outputPath: "imgs/",
64 publicPath: "/static/imgs/"
65 }
66 }
67 ]
68 }
69};