-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathwebpack.beta.js
More file actions
28 lines (27 loc) · 961 Bytes
/
webpack.beta.js
File metadata and controls
28 lines (27 loc) · 961 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
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
const webpack = require("webpack");
const path = require('path');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
contentBase: './dist',
port: 9000,
},
plugins: [
new BundleAnalyzerPlugin(),
new webpack.EnvironmentPlugin({
BASE_URL: 'http://localhost:9000/',
COMPONENT_URL: 'http://localhost:9000/cta/',
MDQ_URL: 'https://md.thiss.io/entities/',
PERSISTENCE_URL: 'http://localhost:9000/ps/',
SEARCH_URL: 'https://md.thiss.io/entities/',
STORAGE_DOMAIN: 'localhost:9000',
LOGLEVEL: 'warn',
DEFAULT_CONTEXT: 'thiss.io',
MIN_SEARCH_LENGTH: '3',
SAA_COMPLIANT_BROWSERS: 'chrome,chromium,edge,edge-chromium,vivaldi'
})]
});