diff --git a/scripts/all_mock.js b/scripts/all_mock.js new file mode 100644 index 0000000000000000000000000000000000000000..095d4c6743359929bf4384192ec7daf5b92a0be6 --- /dev/null +++ b/scripts/all_mock.js @@ -0,0 +1,17 @@ +import api from 'mock/api'; +import chart from 'mock/chart'; +import geographic from 'mock/geographic'; +import notices from 'mock/notices'; +import profile from 'mock/profile'; +import rule from 'mock/rule'; +import user from 'mock/user'; + +export default { + ...api, + ...chart, + ...geographic, + ...notices, + ...profile, + ...rule, + ...user, +}; diff --git a/rollup.config.js b/scripts/rollup.config.js similarity index 89% rename from rollup.config.js rename to scripts/rollup.config.js index 17a1d9040f37f50fa65733a7c74d3a9856911ade..dad0073d8b41e8c95f5227c2e4d8aca6f945ed77 100644 --- a/rollup.config.js +++ b/scripts/rollup.config.js @@ -1,7 +1,7 @@ import json from 'rollup-plugin-json'; // rollup.config.js export default { - input: './.roadhogrc.mock.js', + input: './all_mock.js', output: { file: './functions/mock/index.js', format: 'umd',