git ssb

0+

farewellutopia-dev / patchboot



Tree: 3f0e4d7da3ac763aac617f24691b42daed2ecd90

Files: 3f0e4d7da3ac763aac617f24691b42daed2ecd90 / rollup.config.js

909 bytesRaw
1import { nodeResolve } from '@rollup/plugin-node-resolve'
2import commonjs from '@rollup/plugin-commonjs'
3import sourcemaps from 'rollup-plugin-sourcemaps'
4import globals from 'rollup-plugin-node-globals'
5import builtins from 'rollup-plugin-node-builtins'
6import copy from 'rollup-plugin-copy'
7
8export default [
9 {
10 input: 'src/components/PatchBoot.js',
11 output: [
12 {
13 file: 'public/patch-boot.js',
14 format: 'es',
15 sourcemap: true
16 }
17 ],
18 external: ['../scuttle-shell-browser-consumer.js'],
19 plugins: [
20 builtins(),
21 nodeResolve({
22 browser: true
23 }),
24 commonjs(),
25 globals(),
26 sourcemaps(),
27 copy({
28 targets:
29 [{
30 src: 'node_modules/scuttle-shell-browser-consumer/site/ssb-connect.js',
31 dest: 'public/', rename: 'scuttle-shell-browser-consumer.js'
32 }]
33 })
34 ]
35 }
36]

Built with git-ssb-web