We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11170e9 commit 24919d3Copy full SHA for 24919d3
netlify.toml
@@ -0,0 +1,4 @@
1
+[[redirects]]
2
+ from = "/*"
3
+ to = "/index.html"
4
+ status = 200
public/_redirects
webpack.config.js
@@ -2,7 +2,6 @@ const path = require("path");
const webpack = require("webpack");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const ImageMinimizerPlugin = require('image-minimizer-webpack-plugin');
5
-const CopyPlugin = require("copy-webpack-plugin");
6
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
7
8
module.exports = {
@@ -72,10 +71,5 @@ module.exports = {
72
71
template:"public/index.html",
73
favicon: "public/favicon.png",
74
}),
75
- new CopyPlugin({
76
- patterns: [
77
- { from: "public/_redirects", to: "" }
78
- ]
79
- })
80
]
81
};
0 commit comments