|
|
@@ -3,7 +3,6 @@ const merge = require('webpack-merge')
|
|
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
|
|
|
|
|
const base = require('./webpack.config')
|
|
|
-const { buildDefaultPolicy } = require('./app/src/infrastructure/CSP')
|
|
|
|
|
|
module.exports = merge(base, {
|
|
|
mode: 'development',
|
|
|
@@ -31,10 +30,6 @@ module.exports = merge(base, {
|
|
|
port: 3808,
|
|
|
public: 'www.dev-overleaf.com:443',
|
|
|
|
|
|
- headers: {
|
|
|
- 'Content-Security-Policy': buildDefaultPolicy(),
|
|
|
- },
|
|
|
-
|
|
|
// Customise output to the (node) console
|
|
|
stats: {
|
|
|
colors: true, // Enable some coloured highlighting
|