diff --git a/bundle-scss.mjs b/bundle-scss.mjs index ac68b6b..a0a90f5 100644 --- a/bundle-scss.mjs +++ b/bundle-scss.mjs @@ -5,6 +5,10 @@ await esbuild.build({ entryPoints: ['src/index.ts'], outdir: 'lib/css', bundle: true, + loader: { + ".png": "dataurl", + ".svg": "dataurl", + }, minify: false, sourcemap: true, plugins: [sassPlugin()], diff --git a/tsconfig.json b/tsconfig.json index 589fe44..cc81f0c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,7 @@ "strictNullChecks": true, "allowSyntheticDefaultImports": true, "noErrorTruncation": true, + "skipLibCheck": true, "paths": { "@/*": ["./*"], "@/sb-decorators": ["../.storybook/decorators.tsx"]