Skip to content
New issue

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

Messages logged which should not need to be when all has gone well. #333

Closed
CrowdHailer opened this issue Dec 1, 2015 · 1 comment
Closed

Comments

@CrowdHailer
Copy link

I have a rollup.config.js file which uses the npm plugin. When I run rollup I get the following message "Treating 'rollup-plugin-npm' as external dependency". That is not relevant to me and is distracting because I would be interested in the list of external dependencies that my code.

I assume that when using the -c flag that rollup is used to bundle the config file. Does rollup have an option to run silently and can that be used internally when rolling up the config file. Obviously if there is an error I want to be notified.

My rollup.config.js file is

import npm from 'rollup-plugin-npm';

export default {
  entry: 'index.js',
  format: "iife",
  moduleName: "Main",
  dest: "bundle.js",
  sourceMap: true,

  plugins: [
    npm({
      jsnext: true
    })
  ]
};
@Rich-Harris
Copy link
Contributor

Agree, it's annoying! Thanks, fixed in 0.22.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants