Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Add plugin to help find unuse files, remove some files #417

Merged
merged 1 commit into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const path = require('path');
const webpack = require('webpack');
const UnusedWebpackPlugin = require('unused-webpack-plugin');

module.exports = {
mode: 'development',
Expand All @@ -13,5 +15,10 @@ module.exports = {
port: 3000,
writeToDisk: true,
},
plugins: [new webpack.HotModuleReplacementPlugin()],
plugins: [
new webpack.HotModuleReplacementPlugin(),
new UnusedWebpackPlugin({
directories: [path.join(__dirname, '../../src')],
}),
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"styled-components": "^4.1.3",
"svg-inline-loader": "^0.8.0",
"terser-webpack-plugin": "^5.1.1",
"unused-webpack-plugin": "^2.4.0",
"url-loader": "^4.1.1",
"webpack": "~5.45.1",
"webpack-bundle-analyzer": "^3.0.3",
Expand Down
Binary file removed src/assets/cascade.jpg
Binary file not shown.
Binary file removed src/assets/fluke.png
Binary file not shown.
Binary file removed src/assets/fluke1.png
Binary file not shown.
Binary file removed src/assets/fluke2.jpeg
Binary file not shown.
Binary file removed src/assets/graphic-identification.png
Binary file not shown.
Binary file removed src/assets/graphic-opensource.png
Binary file not shown.
Binary file removed src/assets/graphic-searchexport.png
Binary file not shown.
Binary file removed src/assets/logo-for-black-bg.png
Binary file not shown.
Binary file removed src/assets/logo-for-white-bg.png
Binary file not shown.
Binary file removed src/assets/newsite.png
Binary file not shown.
Binary file removed src/assets/oops.jpg
Binary file not shown.
Binary file removed src/assets/splashvid.webm
Binary file not shown.
1 change: 0 additions & 1 deletion src/assets/wildme-logo.svg

This file was deleted.

28 changes: 0 additions & 28 deletions src/components/BigExpansionPanel.jsx

This file was deleted.

46 changes: 0 additions & 46 deletions src/components/Callout.jsx

This file was deleted.

40 changes: 0 additions & 40 deletions src/components/icons/EncounterIcon.jsx

This file was deleted.

25 changes: 0 additions & 25 deletions src/components/icons/FemaleIcon.jsx

This file was deleted.

25 changes: 0 additions & 25 deletions src/components/icons/MaleIcon.jsx

This file was deleted.

83 changes: 0 additions & 83 deletions src/components/icons/MultipleIndividualsIcon.jsx

This file was deleted.

Loading