Got the new data setup working

This commit is contained in:
Corey 2021-03-28 18:41:42 +08:00
parent 7c4612751f
commit 6c091442fb
2 changed files with 8 additions and 1 deletions

View File

@ -1769,7 +1769,7 @@ var sourceData = [
icon_name: "nut", icon_name: "nut",
icon_path: "nut", icon_path: "nut",
icon_keywords: "nut", icon_keywords: "nut",
"}, },
{ {
icon_name: "pages", icon_name: "pages",
icon_path: "pages", icon_path: "pages",

View File

@ -48,6 +48,13 @@ module.exports = {
to: "images", to: "images",
}, },
]), ]),
/// Enable js folder
new CopyWebpackPlugin([
{
from: "src/js",
to: "js",
},
]),
new PurgecssPlugin({ new PurgecssPlugin({
paths: glob.sync([path.join(__dirname, "src/**/*.html")]), paths: glob.sync([path.join(__dirname, "src/**/*.html")]),
extractors: [ extractors: [