mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-29 02:57:38 +08:00
Disable index.html fallback in dev (#230)
This commit is contained in:
committed by
GitHub
parent
90afc38a38
commit
b4a933add1
@@ -34,6 +34,9 @@ module.exports = {
|
|||||||
outputDir: 'dist',
|
outputDir: 'dist',
|
||||||
filenameHashing: false, // Don't hash the output, so we can embed on the DigitalOcean Community
|
filenameHashing: false, // Don't hash the output, so we can embed on the DigitalOcean Community
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
|
devServer: {
|
||||||
|
historyApiFallback: false, // Don't serve index.html for 404s in dev
|
||||||
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
node: false, // Disable Node.js polyfills (Buffer etc.) -- This will be default in Webpack 5
|
node: false, // Disable Node.js polyfills (Buffer etc.) -- This will be default in Webpack 5
|
||||||
plugins: [
|
plugins: [
|
||||||
|
Reference in New Issue
Block a user