Skip to content

Commit

Permalink
Added @rollup/plugin-json to the build flow;
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed Apr 26, 2021
1 parent f5165d0 commit d9d5dcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import { terser } from "rollup-plugin-terser";
import json from '@rollup/plugin-json';
const lib = require("./package.json");
const outputFileName= 'c-promise';
const name= "CPromise";
Expand All @@ -21,6 +22,7 @@ export default [
banner
},
plugins: [
json(),
resolve(),
commonjs()
]
Expand All @@ -35,6 +37,7 @@ export default [
banner
},
plugins: [
json(),
resolve(),
commonjs()
]
Expand All @@ -49,6 +52,7 @@ export default [
banner
},
plugins: [
json(),
resolve(),
commonjs(),
terser()
Expand All @@ -64,6 +68,7 @@ export default [
banner
},
plugins: [
json(),
resolve(),
commonjs()
]
Expand Down

0 comments on commit d9d5dcc

Please sign in to comment.