2022-12-28 12:49:26 +01:00
|
|
|
//import typescript from 'rollup-plugin-typescript2'
|
|
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve"
|
|
|
|
//import { lezer } from "@lezer/generator/rollup"
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
2022-12-30 12:55:41 +01:00
|
|
|
input: "./src/index.js",
|
2022-12-28 12:49:26 +01:00
|
|
|
output: {
|
2022-12-30 12:55:41 +01:00
|
|
|
file: "./src/bundle.js",
|
2022-12-28 12:49:26 +01:00
|
|
|
format: "iife",
|
2022-12-30 12:55:41 +01:00
|
|
|
//sourceMap: "inline",
|
2022-12-28 12:49:26 +01:00
|
|
|
//globals: {
|
|
|
|
// //
|
|
|
|
//},
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
// typescript({
|
|
|
|
// check: false,
|
|
|
|
// tsconfigOverride: {
|
|
|
|
// compilerOptions: {
|
|
|
|
// lib: ['es5', 'es6'],
|
|
|
|
// sourceMap: true,
|
|
|
|
// target: 'es6',
|
|
|
|
// strict: false
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }),
|
|
|
|
nodeResolve(),
|
|
|
|
//lezer(),
|
|
|
|
]
|
|
|
|
}
|