mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
22 lines
689 B
JavaScript
22 lines
689 B
JavaScript
import postcss from 'rollup-plugin-postcss'
|
|
import typescript from 'rollup-plugin-typescript2'
|
|
|
|
export default {
|
|
input: 'src/index.tsx',
|
|
output: [
|
|
{
|
|
file: 'dist/index.js',
|
|
format: 'es',
|
|
exports: 'named',
|
|
sourcemap: true,
|
|
strict: false
|
|
}
|
|
],
|
|
plugins: [
|
|
postcss({
|
|
plugins: []
|
|
}),
|
|
typescript()
|
|
],
|
|
external: ['react', 'react-dom', 'leaflet', 'react-leaflet', 'react-toastify' , 'react-toastify/dist/ReactToastify.css', 'tw-elements' ,'react-router-dom', 'react-leaflet-cluster', '@tanstack/react-query', 'tributejs', 'prop-types', 'leaflet/dist/leaflet.css', '@heroicons/react/20/solid']
|
|
} |