Browse Source

Got the new data setup working

new-icons
Corey 2 weeks ago
parent
commit
6c091442fb
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      src/js/data.js
  2. +7
    -0
      webpack.config.js

+ 1
- 1
src/js/data.js View File

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


+ 7
- 0
webpack.config.js View File

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


Loading…
Cancel
Save