mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
043a2954f8
* create lezer-promql module + move codemirror to a pure esm module + unified dependencies Signed-off-by: Augustin Husson <[email protected]> * ignore test utils file and remove the type "module" in package.json Signed-off-by: Augustin Husson <[email protected]> * use jest to run the lezer-promql test Signed-off-by: Augustin Husson <[email protected]> * give an automatic way to update the ui dependencies Signed-off-by: Augustin Husson <[email protected]> * update all dependencies using make update-npm-deps Signed-off-by: Augustin Husson <[email protected]> * fix react-app test Signed-off-by: Augustin Husson <[email protected]> * remove generated file Signed-off-by: Augustin Husson <[email protected]> * remove unnecessary backslash in script Signed-off-by: Augustin Husson <[email protected]> * fix reviews Signed-off-by: Augustin Husson <[email protected]> * rewording Signed-off-by: Augustin Husson <[email protected]> * use npx to run lezer-generator Signed-off-by: Augustin Husson <[email protected]>
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()
|
|
]
|
|
}
|