mirror of
https://github.com/heyman/heynote.git
synced 2024-12-01 20:33:58 +01:00
31 lines
627 B
JavaScript
31 lines
627 B
JavaScript
//import typescript from 'rollup-plugin-typescript2'
|
|
import { nodeResolve } from "@rollup/plugin-node-resolve"
|
|
//import { lezer } from "@lezer/generator/rollup"
|
|
|
|
|
|
export default {
|
|
input: "./src/editor.js",
|
|
output: {
|
|
file: "./src/editor.bundle.js",
|
|
format: "iife",
|
|
//globals: {
|
|
// //
|
|
//},
|
|
},
|
|
plugins: [
|
|
// typescript({
|
|
// check: false,
|
|
// tsconfigOverride: {
|
|
// compilerOptions: {
|
|
// lib: ['es5', 'es6'],
|
|
// sourceMap: true,
|
|
// target: 'es6',
|
|
// strict: false
|
|
// }
|
|
// }
|
|
// }),
|
|
nodeResolve(),
|
|
//lezer(),
|
|
]
|
|
}
|