universal-fs
Version:
Allows a client or server to access the file system in the current codebase or a different one.
23 lines (20 loc) • 466 B
JavaScript
import typescript from "rollup-plugin-typescript2";
import copy from "rollup-plugin-copy";
export default [
{
input: "src/index.ts",
output: [
{
dir: "dist",
format: "es"
}
],
inlineDynamicImports: true,
presserveModules: true,
plugins: [
typescript(),
copy({targets: [{src: "types/fs.d.ts", dest: "dist"}]})
],
external: ["express", "bcrypt", "browser-or-node", "buffer", "dotenv"]
}
];