mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
UI (#15)
Adding new Admin UI. Updating Fredy to V3.0.0 as it has been a large rewrite. Thanks for all contributions and help on the way!
This commit is contained in:
committed by
GitHub
parent
8185bfe818
commit
b2847f6834
26
webpack.dev.js
Normal file
26
webpack.dev.js
Normal file
@@ -0,0 +1,26 @@
|
||||
const { merge } = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
const webpack = require('webpack');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = merge(common, {
|
||||
devtool: 'inline-source-map',
|
||||
devServer: {
|
||||
contentBase: path.join(__dirname, 'ui', 'public'),
|
||||
port: 9000,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: {
|
||||
host: '0.0.0.0',
|
||||
protocol: 'http:',
|
||||
port: 9998,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
__DEV__: JSON.stringify(true),
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user