Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Oct 17, 2023
1 parent 1d05674 commit b9bd056
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions src/templates/componentTemplate.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
function componentTemplate(
{ template },
opts,
{ componentName, jsx, exports }
) {
function componentTemplate({ template }, opts, { componentName, jsx }) {
const code = `
import * as React from 'react';
import { IconProps } from '../types';
Expand Down
1 change: 0 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default defineConfig([
{
format: ['cjs', 'esm'],
entry: ['src/index.ts'],
treeshake: true,
sourcemap: true,
minify: false,
clean: true,
Expand Down

0 comments on commit b9bd056

Please sign in to comment.