Compare Changes at consolidate
This commit is contained in:
@@ -5,7 +5,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
|
||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||
const webpack = require("webpack");
|
||||
|
||||
const urlDev = "https://localhost:3037/";
|
||||
const urlDev = "https://localhost:3000/";
|
||||
const urlProd = "https://kabel.casademm.de/"; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION
|
||||
|
||||
async function getHttpsOptions() {
|
||||
@@ -93,6 +93,9 @@ module.exports = async (env, options) => {
|
||||
new webpack.ProvidePlugin({
|
||||
Promise: ["es6-promise", "Promise"],
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
DEV_MODE: JSON.stringify(dev),
|
||||
}),
|
||||
],
|
||||
devServer: {
|
||||
hot: true,
|
||||
|
||||
Reference in New Issue
Block a user