1
0
Fork 0
freesewing/packages/plugin-theme/rollup.node.js
2019-04-19 08:22:54 +02:00

22 lines
426 B
JavaScript

import filesize from "rollup-plugin-filesize";
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
export default {
input: "src/index.js",
output: {
file: "dist/module.js",
format: "cjs"
},
plugins: [
resolve({
browser: false
}),
json(),
babel({
exclude: "node_modules/**"
}),
filesize()
]
};