Created
January 6, 2018 12:29
-
-
Save kazuya-k-ishibashi/7382142fc8ce42f7fa95e04b112fd9ef 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 resolve from "rollup-plugin-node-resolve" | |
import commonjs from "rollup-plugin-commonjs" | |
import includePaths from "rollup-plugin-includepaths" | |
import buble from "rollup-plugin-buble" | |
export default { | |
input: "./src/index.js", | |
output: { | |
file: "./dist/bundle.js", | |
format: "cjs" | |
//format: "iife" | |
//name: "bundle" | |
}, | |
plugins: [ | |
resolve(), | |
commonjs({ jsnext: true }), | |
includePaths({ | |
paths: [ "./src" ], | |
extensions: [ ".js", ".json" ] | |
}), | |
buble() | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment