We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i imported module by: import { Reader } from 'monet'; then got error: Error: 'Reader' is not exported by node_modules/monet/dist/monet.js
import { Reader } from 'monet';
Error: 'Reader' is not exported by node_modules/monet/dist/monet.js
my config:
import resolve from 'rollup-plugin-node-resolve'; import typescript from '@rollup/plugin-typescript'; import { terser } from 'rollup-plugin-terser'; import copy from 'rollup-plugin-copy'; import replace from '@rollup/plugin-replace'; import serve from 'rollup-plugin-serve'; import livereload from 'rollup-plugin-livereload'; import commonjs from '@rollup/plugin-commonjs'; const isDev = process.argv.includes('--dev'); const isServe = process.argv.includes('--serve'); export function getPlugins(envFrom, envTo, indexHtml) { return [ ...(isDev ? [replace({ [envFrom]: envTo, delimiters: ['', ''] })] : []), resolve(), commonjs(), typescript(), ...(!isDev && !isServe ? [ terser({ output: { comments: false } }) ] : []), copy({ targets: [ { src: indexHtml, dest: 'dist' } ] }), ...(isServe ? [ serve({ contentBase: 'dist', port: 4200 }), // index.html should be in root of project livereload() ] : []) ]; }
The text was updated successfully, but these errors were encountered:
@moczniak sorry for not answering for such a long time...
I don't use rollup, never did and don't have time to investigate rollup specific isues :(
Did you find any solution in meantime?
Sorry, something went wrong.
@moczniak please see #258
ulfryk
No branches or pull requests
i imported module by:
import { Reader } from 'monet';
then got error:
Error: 'Reader' is not exported by node_modules/monet/dist/monet.js
my config:
The text was updated successfully, but these errors were encountered: