We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd0f642 + 00ecd67 commit 9b2d7cbCopy full SHA for 9b2d7cb
1 file changed
vite.config.ts
@@ -1,7 +1,7 @@
1
-import { defineConfig } from 'vite';
2
-import react from '@vitejs/plugin-react';
3
-import dts from 'vite-plugin-dts';
4
-import { resolve } from 'path';
+import { defineConfig } from 'vite'
+import react from '@vitejs/plugin-react'
+import dts from 'vite-plugin-dts'
+import { resolve } from 'path'
5
6
export default defineConfig({
7
plugins: [
@@ -18,14 +18,13 @@ export default defineConfig({
18
fileName: (format) => `nes-components.${format}.js`,
19
},
20
rollupOptions: {
21
- external: ['react', 'react-dom', 'styled-components'],
+ external: ['react', 'react-dom'],
22
output: {
23
globals: {
24
react: 'React',
25
'react-dom': 'ReactDOM',
26
- 'styled-components': 'styled',
27
28
29
30
31
-});
+})
0 commit comments