Skip to content

Commit

Permalink
fix: dataurl loader for svg
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Aug 29, 2023
1 parent b972ac4 commit 2f54563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function main() {
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
const source = pkg.name === '100ms_edtech_template' ? './src/App.js' : './src/index.ts';
const external = [...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {})];
const loader = { '.js': 'jsx', '.svg': 'file', '.png': 'dataurl' };
const loader = { '.js': 'jsx', '.svg': 'dataurl', '.png': 'dataurl' };
const define = { 'process.env': JSON.stringify(process.env) };
const plugins = [
PostCssPlugin.default({
Expand Down

0 comments on commit 2f54563

Please sign in to comment.