1 | const path = require("path");
|
2 | const babel = require("rollup-plugin-babel");
|
3 | const configure = path.resolve("ezy.config.json");
|
4 | const config = require(configure);
|
5 |
|
6 | module.exports = {
|
7 | entry: path.resolve(config.entryDir + "/" + config.entry),
|
8 | format: "cjs",
|
9 | plugins: [ babel() ]
|
10 | };
|