Add API monorepo
Change-Id: I39aa1707744bb86c4bc9113157bbf815bb3fe33a
This commit is contained in:
parent
b87cff043a
commit
5246efb027
56 changed files with 251 additions and 22 deletions
17
source/ui/scripts/webpack-dev.js
Normal file
17
source/ui/scripts/webpack-dev.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
const { merge } = require('webpack-merge');
|
||||
|
||||
const common = require('./webpack-common');
|
||||
const myEnv = require('dotenv').config({ path: 'config/local/.env' }).parsed;
|
||||
|
||||
module.exports = (env, args) => {
|
||||
return merge(common(env, args, myEnv), {
|
||||
mode: 'development',
|
||||
devtool: 'inline-source-map',
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
port: '3330',
|
||||
hot: true,
|
||||
historyApiFallback: true,
|
||||
},
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue