mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
24 lines
459 B
JavaScript
24 lines
459 B
JavaScript
import postcss from 'rollup-plugin-postcss'
|
|
import typescript from 'rollup-plugin-typescript2'
|
|
|
|
import pkg from './package.json'
|
|
|
|
export default {
|
|
input: 'src/index.tsx',
|
|
output: [
|
|
{
|
|
file: pkg.main,
|
|
format: 'cjs',
|
|
exports: 'named',
|
|
sourcemap: true,
|
|
strict: false
|
|
}
|
|
],
|
|
plugins: [
|
|
postcss({
|
|
plugins: []
|
|
}),
|
|
typescript()
|
|
],
|
|
external: ['react', 'react-dom']
|
|
} |