Skip to content

Instantly share code, notes, and snippets.

@pyrsmk
Created July 23, 2019 15:57
Show Gist options
  • Save pyrsmk/bc67efe267a8d2e57aa1b0e66ac1620f to your computer and use it in GitHub Desktop.
Save pyrsmk/bc67efe267a8d2e57aa1b0e66ac1620f to your computer and use it in GitHub Desktop.
Just task example with source()
task('bundle', () => {
source('src/MyLib.ts').rollup({
format: 'umd',
name: 'mylib',
plugins: [
typescript(),
prepack(),
],
}).tofile('dist/mylib.js')
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment