mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
change build output from es to esm
This commit is contained in:
parent
056bee7d1b
commit
b1c1d14bd7
@ -6,7 +6,7 @@ export default {
|
|||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
file: 'dist/index.js',
|
file: 'dist/index.js',
|
||||||
format: 'es',
|
format: 'esm',
|
||||||
exports: 'named',
|
exports: 'named',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
strict: false
|
strict: false
|
||||||
@ -18,5 +18,5 @@ export default {
|
|||||||
}),
|
}),
|
||||||
typescript()
|
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']
|
external: ['react', 'react-dom', 'leaflet', 'react-leaflet', 'react-toastify' , 'react-string-replace', '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']
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user