1 | // rollup.config.js
|
2 | var babel = require("rollup-plugin-babel");
|
3 | var serve = require("rollup-plugin-serve");
|
4 |
|
5 | export default {
|
6 | entry: "src/index.js",
|
7 | format: "umd",
|
8 | moduleName: "fullpage",
|
9 | plugins: [
|
10 | serve({
|
11 | contentBase: ["."]
|
12 | }),
|
13 | babel({
|
14 | exclude: 'node_modules/**' // only transpile our source code
|
15 | })
|
16 | ],
|
17 | dest: 'dist/fullpage.js' // equivalent to --output
|
18 | }; |
\ | No newline at end of file |