mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
22 lines
437 B
JavaScript
22 lines
437 B
JavaScript
import sass from 'rollup-plugin-sass'
|
|
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: [
|
|
sass({ insert: true }),
|
|
typescript()
|
|
],
|
|
external: ['react', 'react-dom']
|
|
} |