Created
July 23, 2019 15:57
-
-
Save pyrsmk/bc67efe267a8d2e57aa1b0e66ac1620f to your computer and use it in GitHub Desktop.
Just task example with source()
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
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