mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
remove rollup stuff because it is madness.
This commit is contained in:
@@ -12,9 +12,6 @@
|
|||||||
"noble-secp256k1": "^1.1.1",
|
"noble-secp256k1": "^1.1.1",
|
||||||
"pws": "^5.0.2"
|
"pws": "^5.0.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
|
||||||
"prepublish": "rollup -c rollup.config.js"
|
|
||||||
},
|
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"decentralization",
|
"decentralization",
|
||||||
"twitter",
|
"twitter",
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
import {nodeResolve} from '@rollup/plugin-node-resolve'
|
|
||||||
import {terser} from 'rollup-plugin-terser'
|
|
||||||
import babel from '@rollup/plugin-babel'
|
|
||||||
|
|
||||||
import pkg from './package.json'
|
|
||||||
|
|
||||||
const input = 'index.js'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
input,
|
|
||||||
output: {
|
|
||||||
sourcemap: true,
|
|
||||||
format: 'umd',
|
|
||||||
name: 'nostr',
|
|
||||||
file: `dist/${pkg.name}.min.js`,
|
|
||||||
exports: 'named',
|
|
||||||
esModule: false
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
nodeResolve(),
|
|
||||||
babel({
|
|
||||||
babelHelpers: 'bundled'
|
|
||||||
}),
|
|
||||||
terser()
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user