relay-plugin-rollup-preset/dist/index.js

17 lines
525 B
JavaScript
Raw Normal View History

2022-12-14 14:54:58 +00:00
import { defineConfig } from "rollup";
import commonjs from "@rollup/plugin-commonjs";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import { bundleNativeModulesPlugin } from "@lumeweb/rollup-plugin-bundle-native-modules";
2022-12-14 15:04:02 +00:00
import typescript from "@rollup/plugin-typescript";
import json from "@rollup/plugin-json";
2022-12-14 15:07:37 +00:00
const preset = defineConfig({
2022-12-14 15:04:02 +00:00
plugins: [
typescript(),
json(),
nodeResolve(),
commonjs(),
bundleNativeModulesPlugin(),
],
2022-12-14 14:54:58 +00:00
});
2022-12-14 15:07:37 +00:00
export default preset;