|
@@ -12,8 +12,8 @@ import peerDepsExternal from 'rollup-plugin-peer-deps-external';
|
12
|
12
|
import visualizer from 'rollup-plugin-visualizer';
|
13
|
13
|
import analyze from 'rollup-plugin-analyzer';
|
14
|
14
|
import ts from "@wessberg/rollup-plugin-ts";
|
15
|
|
-import typescript from 'rollup-plugin-typescript2';
|
16
|
|
-import sourcemaps from 'rollup-plugin-sourcemaps';
|
|
15
|
+// import typescript from 'rollup-plugin-typescript2';
|
|
16
|
+// import sourcemaps from 'rollup-plugin-sourcemaps';
|
17
|
17
|
|
18
|
18
|
// import url from '@rollup/plugin-url';
|
19
|
19
|
// import less from "rollup-plugin-less";
|
|
@@ -21,8 +21,6 @@ import nodeEval from 'node-eval';
|
21
|
21
|
|
22
|
22
|
export function getModuleExports(moduleId) {
|
23
|
23
|
const id = require.resolve(moduleId)
|
24
|
|
- console.log('moduleId: ', moduleId);
|
25
|
|
- console.log('id: ', id);
|
26
|
24
|
const moduleOut = nodeEval(fs.readFileSync(id).toString(), id)
|
27
|
25
|
let result = []
|
28
|
26
|
const excludeExports = /^(default|__)/
|