-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.dev.js
More file actions
28 lines (24 loc) · 738 Bytes
/
webpack.dev.js
File metadata and controls
28 lines (24 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
Copyright 2020 Adobe
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in
accordance with the terms of the Adobe license agreement accompanying
it.
*/
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const SOURCE_ROOT = __dirname + '/src';
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
performance: { hints: "warning" },
devServer: {
inline: true,
proxy: [{
context: ['/content', '/etc.clientlibs'],
target: 'http://localhost:4502',
}]
}
});