create http client and base service

This commit is contained in:
Fran Jurmanović
2021-05-28 19:08:11 +02:00
parent 888c76829c
commit e0756282b6
10 changed files with 186 additions and 1 deletions

View File

@@ -1,6 +1,14 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const alias = {
common: path.resolve(__dirname, '/common'),
core: path.resolve(__dirname, '/core'),
configs: path.resolve(__dirname, '/configs'),
components: path.resolve(__dirname, '/components'),
pages: path.resolve(__dirname, '/pages')
};
module.exports = {
entry: {
app: ['babel-polyfill', './src/index']
@@ -47,7 +55,8 @@ module.exports = {
}),
],
resolve: {
extensions: ['.js', '.ts']
extensions: ['.js', '.ts'],
alias: alias
},
devServer: {
historyApiFallback: true,