mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2025-02-22 02:09:24 +00:00
robots.txt
This commit is contained in:
parent
db3ce2e53a
commit
1edb23826f
@ -19,6 +19,7 @@
|
||||
"@types/react-dom": "^16.8",
|
||||
"@types/react-router-dom": "^4.3.1",
|
||||
"awesome-typescript-loader": "^5",
|
||||
"copy-webpack-plugin": "^5.0.4",
|
||||
"css-loader": "3",
|
||||
"file-loader": "4",
|
||||
"html-webpack-plugin": "3",
|
||||
|
2
src/Static/robots.txt
Normal file
2
src/Static/robots.txt
Normal file
@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Allow: /
|
@ -2,6 +2,7 @@ const path = require('path')
|
||||
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
const CopyPlugin = require('copy-webpack-plugin')
|
||||
|
||||
module.exports = {
|
||||
entry: [
|
||||
@ -27,6 +28,9 @@ module.exports = {
|
||||
new MiniCssExtractPlugin({
|
||||
filename: 'bundle.css',
|
||||
}),
|
||||
new CopyPlugin([
|
||||
{ from: 'Static/robots.txt', to: '.' },
|
||||
]),
|
||||
],
|
||||
stats: {
|
||||
assets: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user