2
0
mirror of https://github.com/tenrok/vue-tribute.git synced 2026-06-10 00:12:27 +03:00
Files
vue-tribute/rollup.config.js
T
2016-07-24 11:08:04 -04:00

18 lines
337 B
JavaScript

import { rollup } from "rollup"
import babel from "rollup-plugin-babel"
const env = process.env.BUILD_ENV
const dest = env === "cjs" ? "index.js" : "index.umd.js"
export default {
entry: "./src/index.js",
plugins: [
babel({
exclude: "node_modules/**"
})
],
dest,
format: env,
moduleName: "VueInputAutosize"
}