From 5ab0898126816ce4f570304cd3a11b6328337a55 Mon Sep 17 00:00:00 2001 From: Sarah Wang Date: Wed, 14 Aug 2024 20:18:05 -0400 Subject: [PATCH] remame file, update wepback --- demo/src/{declerations.d.ts => index.d.ts} | 0 demo/webpack.common.js | 4 ++++ 2 files changed, 4 insertions(+) rename demo/src/{declerations.d.ts => index.d.ts} (100%) diff --git a/demo/src/declerations.d.ts b/demo/src/index.d.ts similarity index 100% rename from demo/src/declerations.d.ts rename to demo/src/index.d.ts diff --git a/demo/webpack.common.js b/demo/webpack.common.js index ace98fef..0090834b 100644 --- a/demo/webpack.common.js +++ b/demo/webpack.common.js @@ -28,6 +28,10 @@ module.exports = { use: ["style-loader", "css-loader"], }, { test: /\.json$/, type: "json" }, + { + test: /\.(png|svg|jpg|jpeg|gif)$/i, + type: "asset/resource", + }, ], }, externals: {