mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
29 lines
721 B
JavaScript
29 lines
721 B
JavaScript
|
const path = require("path");
|
||
|
const { merge } = require('webpack-merge');
|
||
|
const common = require('./webpack.common.js')
|
||
|
|
||
|
module.exports = merge(common, {
|
||
|
mode: 'development',
|
||
|
devServer: {
|
||
|
// proxy: {
|
||
|
// "/api": {
|
||
|
// target: "http://192.168.0.3:8000",
|
||
|
// },
|
||
|
// },
|
||
|
static: {
|
||
|
directory: path.join(__dirname, "../docs"),
|
||
|
},
|
||
|
headers: {
|
||
|
"Cross-Origin-Opener-Policy": "same-origin",
|
||
|
"Cross-Origin-Embedder-Policy": "require-corp",
|
||
|
},
|
||
|
https: true,
|
||
|
client: {
|
||
|
overlay: {
|
||
|
errors: false,
|
||
|
warnings: false,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|