import rollupString from 'rollup-plugin-string';
import sourcemaps from 'rollup-plugin-sourcemaps';

export default {
    entry: 'build/lib/js/index.js',
    format: 'es',
    external: ['three', 'jszip'],
    dest: 'dist/lib/microtome-lib.js',
    sourceMap: true,
    moduleName: "microtome",
    plugins: [
        // customResolver(),
        rollupString({
            // Required to be specified
            include: 'build/lib/js/**/*.glsl',
        }),
        sourcemaps()
    ],
    paths: {
        "three": "/lib/js/three",
        "jszip": "/lib/js/jszip"
    }
};

@@ -136,16 +136,26 @@
 /lib/js/
+microtome/
 index.js
@@ -242,12 +242,8 @@
 tome
--lib
 .js'
@@ -436,16 +436,26 @@
 /lib/js/
+microtome/
 **/*.gls

Fix up rollup lib