faucet-pipeline-js
Version:
JavaScript module bundling for faucet-pipeline
23 lines (20 loc) • 358 B
JavaScript
;
let path = require("path");
module.exports = {
js: [{
source: "./src/index.js",
target: "./dist/bundle.js",
format: "umd",
exports: "MYLIB"
}, {
source: "./src/index.js",
target: "./dist/bundle_cjs.js",
format: "commonjs"
}],
plugins: {
js: {
plugin: path.resolve(__dirname, "../../.."),
bucket: "scripts"
}
}
};