mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 09:34:05 -08:00
17 lines
310 B
JavaScript
17 lines
310 B
JavaScript
|
import { nodeResolve } from "@rollup/plugin-node-resolve"
|
||
|
|
||
|
export default {
|
||
|
input: "./src/parser.js",
|
||
|
output: [{
|
||
|
format: "cjs",
|
||
|
file: "./dist/index.cjs"
|
||
|
}, {
|
||
|
format: "es",
|
||
|
file: "./dist/index.es.js"
|
||
|
}],
|
||
|
external(id) { return !/^[.\/]/.test(id) },
|
||
|
plugins: [
|
||
|
nodeResolve()
|
||
|
]
|
||
|
}
|