Created
February 2, 2023 03:58
-
-
Save hatemogi/338d2c6044bf55e79f9b2ebceade6602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import commonjs from '@rollup/plugin-commonjs'; | |
import resolve from '@rollup/plugin-node-resolve'; | |
import typescript from '@rollup/plugin-typescript'; | |
export default { | |
input: 'src/index.ts', | |
output: { | |
dir: 'public', | |
format: 'cjs' | |
}, | |
plugins: [ | |
resolve({ browser: true, preferBuiltins: true }), | |
commonjs(), | |
typescript()] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment