Skip to content

Commit

Permalink
refactor(core): Fixed tree-shaking
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot committed Jun 15, 2023
1 parent 37498e5 commit ae1c127
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,40 +1,3 @@
// import { defineConfig } from 'vite';
// import path from 'path';
// import react from '@vitejs/plugin-react';


// module.exports = defineConfig({
// plugins: [react()],
// resolve: {
// alias: {
// '@/': `${path.resolve(__dirname, 'src')}/`,
// },
// },
// build: {
// target: 'ES6',
// minify: 'terser',
// lib: {
// entry: path.resolve(__dirname, 'src/index.ts'),
// name: 'react-simple-icons',
// },
// rollupOptions: {
// external: ['react'],
// output: [
// {
// format: 'umd',
// name: 'reactSimpleIcons',
// globals: {
// react: 'React',
// },
// },
// {
// format: 'esm',
// },
// ],
// },
// },
// });

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import dts from 'vite-plugin-dts'
Expand Down

0 comments on commit ae1c127

Please sign in to comment.