2020-03-04 03:22:13 +03:00
|
|
|
const path = require('path')
|
|
|
|
const common = require('./webpack.config.common')
|
|
|
|
|
2019-12-18 04:14:33 +03:00
|
|
|
module.exports = {
|
2020-03-04 03:22:13 +03:00
|
|
|
...common,
|
|
|
|
mode: 'development',
|
|
|
|
entry: './index.tsx',
|
2020-01-09 02:39:45 +03:00
|
|
|
output: {
|
2020-03-04 03:22:13 +03:00
|
|
|
path: path.join(__dirname, 'dist'),
|
|
|
|
filename: 'index.js',
|
2019-12-18 04:14:33 +03:00
|
|
|
},
|
|
|
|
devServer : {
|
2020-01-10 03:00:03 +03:00
|
|
|
publicPath: '/dist',
|
2023-04-07 01:08:54 +03:00
|
|
|
//https: true,
|
|
|
|
//host: '0.0.0.0', // Necessary to server outside localhost
|
2019-12-18 04:14:33 +03:00
|
|
|
stats: 'none',
|
|
|
|
},
|
|
|
|
}
|