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: {