38 Commits

Author SHA1 Message Date
6c708532ac Disable host check for local development. 2021-05-20 10:06:49 +02:00
d4f059945d Add list of sites to config. 2021-05-20 10:05:36 +02:00
783373da22 Linting 2021-05-20 10:01:58 +02:00
1839810e66 Dev-server proxies /api and WS request to backend. 2020-12-06 23:21:44 +01:00
9265572e45 Updated dev webpack config. 2020-12-06 22:56:30 +01:00
ce7e05fd43 Renamed /src to /frontend. 2020-12-06 21:48:51 +01:00
37f41ff894 Updated outdates packages.
Also includes updating webpack configs to support newer versions.
2020-12-06 21:38:37 +01:00
9e7be82f57 Misc updates and better logging. 2020-12-06 20:48:39 +01:00
2fa0c1085c Build bundle analyzer and no-auth start commands.
build-report: uses webpack-bundle-analzer for interactive bundle size
explorer.
start-noauth: running locally without endpoint authentication enabled.
2020-12-06 20:44:54 +01:00
ccc72997c0 Moved entry and HtmlWebpackPlugin from Vinlottis.config to webpack.common and webpack.prod. Removed Vinlottis.config. 2020-11-24 23:54:43 +01:00
ea1237464d Updated and remove unused dependencies. 2020-11-24 23:47:38 +01:00
7c0d7c14ec Urlloader uses options not query params. 2020-11-24 23:45:33 +01:00
cf06140f60 'Use' for babel-loader and removed unused deps. 2020-11-24 23:44:35 +01:00
81ce466318 Replaced uglifyjs w/ webpack 5 TerserPlugin. 2020-11-24 23:42:05 +01:00
d36aad3f9e Webpack conf now outputs to public/dist. 2020-11-20 21:24:36 +01:00
cc0bef927f Single template & analytics.js script reference. 2020-11-20 21:22:53 +01:00
a2a81e488e Manually include local google analytics file.
This removes vue-analytics dependency.
2020-11-20 21:20:10 +01:00
e12e5cafb0 Exclude moment from chart.js from webpack. 2020-11-20 18:30:55 +01:00
b6e2bde4d1 New command start-dev runs with node_env flag set to development. 2020-10-22 22:34:44 +02:00
d49303a42a Replace babel/polyfill w/ core-js v3.
Babel versions above 7.4 recommend using new core-js polyfill over
deprecated babel/polyfill. Also updated babel/core and babel/preset-env.
Added babelrc for defined config of corejs version & targeted browsers.
2020-10-22 22:13:07 +02:00
bce28c5eb9 Output index file should be in root of dist folder. 2020-10-22 13:39:40 +02:00
794a2b06e4 Updated webpack so dist folder now lives at project root. 2020-10-22 13:36:21 +02:00
Adrian Thompson
aea808dae1 🍷 2020-08-28 17:20:37 +02:00
Kasper Rynning-Tønnesen
6e380c5f5c Timeouts are nice 2020-04-17 16:29:19 +02:00
Kasper Rynning-Tønnesen
7aa47b08ad Fix automatic choser issue 2020-04-17 15:50:22 +02:00
Kasper Rynning-Tønnesen
4051c04c91 token -> gatewayTokeng 2020-04-06 09:42:19 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
Kasper Rynning-Tønnesen
08c5c40335 Tabs 2020-03-16 13:48:57 +01:00
d04164280f Dev config should also use create template. 2020-03-10 00:21:45 +01:00
3cf3151677 New lottery.config property for setting api url. 2020-03-10 00:21:16 +01:00
Kasper Rynning-Tønnesen
72d67d862d Not crashing without configs anymore 2020-03-04 08:52:57 +01:00
Kasper Rynning-Tønnesen
6589425e54 Not crashing when not supplying push-data thingies 2020-03-02 13:33:44 +01:00
Kasper Rynning-Tønnesen
8b1d86bd9b Moved some files around, improved how notifications are being requested, and improved activation and installation-flow of serviceworker 2020-02-21 14:36:27 +01:00
Kasper Rynning-Tønnesen
9350c7647e Pushnotifications now 2020-01-31 16:13:14 +01:00
Kasper Rynning-Tønnesen
40c7b6114b Removed a file and all that stuff 2020-01-30 15:11:54 +01:00
Kasper Rynning-Tønnesen
8b3e3d60a5 Config-file 2020-01-30 15:08:22 +01:00
Kasper Rynning-Tønnesen
e8a6284f02 Version-handling 2020-01-30 13:10:55 +01:00
Kasper Rynning-Tønnesen
51c2ee2a0e Working now 2020-01-20 16:07:40 +01:00