relux.js
Version:
Flexible and easy state management container for React or other javascript apps with TypeScript, supports class-based Object-Oriented-Programming and Dependency Injection.
22 lines (21 loc) • 551 B
JavaScript
import typescript from 'rollup-plugin-typescript2';
export default [
{
input: './src/index.ts',
output: {
format: 'esm',
dir: './build/', // 出力先ディレクトリトップ
entryFileNames: 'index.esm.js',
},
plugins: [
typescript({
tsconfigOverride: {
declaration: true,
compilerOptions: {
module: "es2015",
}
}
})
]
}
];